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