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