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