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