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