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