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