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