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