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