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