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