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