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