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