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