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