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