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