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