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