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