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