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