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