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