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