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