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