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