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