{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"你的任务是找到最小的自然数 **N**,使得 **N!** 在十进制表示中末尾恰好包含 **Q** 个零。如你所知 `N! \u003d 1 * 2 * ... * N`。例如,5! \u003d 120,120 在末尾包含一个零。"}},{"title":"输入","value":{"format":"MD","content":"输入以一个整数 **T (\u0026#8804; 10000)** 开始,表示测试用例的数量。\n\n每个测试用例在一行中包含一个整数 **Q (1 \u0026#8804; Q \u0026#8804; 10\u003csup\u003e8\u003c/sup\u003e)**。"}},{"title":"输出","value":{"format":"MD","content":"对于每个测试用例,输出案例编号和 **N**。如果找不到解决方案,则输出 `impossible`。"}},{"title":"示例","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\n1\n2\n5\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase 1: 5\nCase 2: 10\nCase 3: impossible\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e"}}]}