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