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