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