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