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