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