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