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