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