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