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