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