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