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