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