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