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