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