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