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