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