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