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