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