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