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