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