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