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