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