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