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