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