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