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