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