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