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