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