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