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