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