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