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