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