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