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