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