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