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