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