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