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