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