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