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