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