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