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