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