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