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