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