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