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