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