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