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