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