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