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