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