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