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