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