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