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