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