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