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