{"problem":{"name":"Grouping 2","description":{"content":"There are $N$ students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot hav","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc089_a"},"statements":[{"statement_type":"Markdown","content":"There are $N$ students in a school.\nWe will divide these students into some groups, and in each group they will discuss some themes.\nYou think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible.\nDivide the students so that the number of groups consisting of three or more students is maximized.\n\n## Constraints\n\n*   $1 \\leq N \\leq 1000$\n*   All input values are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc089_a","tags":[],"sample_group":[["8","2\n\nFor example, you can form a group of three students and another of five students."],["2","0\n\nSometimes you cannot form any group consisting of three or more students, regardless of how you divide the students."],["9","3"]],"created_at":"2026-03-03 11:01:13"}}