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