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