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