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