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