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