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