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