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