{"trustable":false,"sections":[{"title":"Description","value":{"format":"HTML","content":"\u003cdiv\u003e\n\u003cp\u003e\u003ci\u003eSidney\u003c/i\u003e的队友\u003ci\u003eBrother DP\u003c/i\u003e是一个很厉害的足球运动员,这次\u003ci\u003eBrother DP\u003c/i\u003e生日,感念上次队友的强力助攻,\u003ci\u003eSidney\u003c/i\u003e决定从他的奖学金中抽取一部分来举办一次ACM足球大赛。(加群:247523038报名!\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\n规则是这样的:有\u003ci\u003en\u003c/i\u003e支队伍参赛,每两支队伍比赛两场,胜得3分,平得1分,负不得分。比赛结束评选一支梦之队,满足要求是:进球总数最多(不能并列)+胜利数最多(不能并列)+丢球数最少(不能并列)。因为要给梦之队发奖金,\u003ci\u003eSidney\u003c/i\u003e希望梦之队的排名尽可能的低。\n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"There are multiple test cases in the input. Each test case consists of only one line containing n (1 ≤ n ≤ 50), the number of teams in league. The input terminates with a line containing ‘0’. "}},{"title":"Output","value":{"format":"HTML","content":"For each test case, write a single line containing the worst possible rank for the WonderTeam. "}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e1\n3\n0\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e1\n1\n\u003c/pre\u003e\n"}}]}