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