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