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