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