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