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