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