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