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