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