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