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