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