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