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