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