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