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