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