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