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