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