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