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