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