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