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