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