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