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