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