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