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