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