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