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