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