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