{"problem":{"name":"4/N","description":{"content":"You are given an integer $N$. Find a triple of positive integers $h$, $n$ and $w$ such that $4/N = 1/h + 1/n + 1/w$. If there are multiple solutions, any of them will be accepted.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"tenka1_2017_c"},"statements":[{"statement_type":"Markdown","content":"You are given an integer $N$.\nFind a triple of positive integers $h$, $n$ and $w$ such that $4/N = 1/h + 1/n + 1/w$.\nIf there are multiple solutions, any of them will be accepted.\n\n## Constraints\n\n*   It is guaranteed that, for the given integer $N$, there exists a solution such that $h,n,w \\leq 3500$.\n\n## Inputs\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"tenka1_2017_c","tags":[],"sample_group":[["2","1 2 2\n\n$4/2 = 1/1 + 1/2 + 1/2$."],["3485","872 1012974 1539173474040\n\nIt is allowed to use an integer exceeding $3500$ in a solution."],["4664","3498 3498 3498"]],"created_at":"2026-03-03 11:01:14"}}