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