There are 7 baskets on the table. Each basket has 0, 17, 1, 18, 2, 5 and 9 apples. Emma chose first, Noah chose third, Sean chose sixth, Liam chose fifth, John chose second, Olivia chose seventh, and Matt chose fourth. How many apples did Matt and John choose in total?