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