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