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