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