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