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