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