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