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