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