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