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