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