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