{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"输入一个正整数s,求一个最大的正整数n,使得n的所有正因子之和为s"}},{"title":"Input","value":{"format":"MD","content":"每组数据第一行为一个正整数s(1\u003c\u003ds\u003c\u003d1000),当s为0时输入结束"}},{"title":"Output","value":{"format":"MD","content":"每组数据输出\"Case x: n\",x从1开始,n为答案,如果不存在输出-1"}},{"title":"Sample Input","value":{"format":"MD","content":"```\n1\n102\n1000\n0\n```"}},{"title":"Sample Output","value":{"format":"MD","content":"```\nCase 1: 1\nCase 2: 101\nCase 3: -1\n```"}}]}