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