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