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