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