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