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