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