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