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