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