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