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