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