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