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