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