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