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