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