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