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