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