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