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