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