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