Codeforces Round 511 (Div. 2)
翻译中…
Little C loves number «3» very much. He loves all things about it.
翻译中…
Now he has a positive integer $n$. He wants to split $n$ into $3$ positive integers $a,b,c$, such that $a+b+c=n$ and none of the $3$ integers is a multiple of $3$. Help him to find a solution.
翻译中…
Input
翻译中…
A single line containing one integer $n$ ($3 \leq n \leq 10^9$) — the integer Little C has.
翻译中…
Output
翻译中…
Print $3$ positive integers $a,b,c$ in a single line, such that $a+b+c=n$ and none of them is a multiple of $3$.
翻译中…
It can be proved that there is at least one solution. If there are multiple solutions, print any of them.
翻译中…
样例
Input #1
3
Output #1
1 1 1
InputCopy
OutputCopy
Input #2
233
Output #2
77 77 79
InputCopy
OutputCopy
题目信息
标签
数学
题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。