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