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