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