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