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