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