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