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