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