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