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