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