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