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