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