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