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