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