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