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