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