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