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