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