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