View solution.

Rooms of Hogwarts

Great Hall

“What's for dinner?” asked Ron.

“Elfin snot rot marinara,” said Hermione.

Harry wrinkled his nose. “Sounds nasty.”

“Actually, it’s a fascinating dish with astounding magical properties! If you serve it in a market, 62 markets appear, but 11 woodcutters, 9 smithies, 1/3 of a village, and 1/3 of a laboratory disappear. When it's served in a smithy, you get 105 markets, 13 villages, and 13 laboratories, but 51 festivals and 28 smithies disappear. They also tried serving it in a laboratory, and that caused 68 markets and 1/3 of a smithy to appear, but 23 woodcutters, 7 laboratories, and 7 villages vanished. And if it's served at a festival, 26 festivals, 1 smithy, and 21 markets appear, but 1 village disappears!”

“Hermione, I haven't a clue what you're going on about,” said Harry.

Ron regarded the substance on his plate dubiously. “Well, I'm not touching this stuff until I find out exactly what's inside it.”