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