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