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