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