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