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