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