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