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