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