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