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