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