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