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