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