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