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