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