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