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