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