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