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