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