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