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