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