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