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