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