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