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