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