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