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