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