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