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