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