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