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