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