{"problem":{"name":"179. Engineering Challenge","description":{"content":"For an engineering challenge, you have to make a project which has a certain height $n$, with a tolerance of $k$. This means that any height between $n$ - $k$ and $n$ + $k$ will be acceptable. For exa","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269179"},"statements":[{"statement_type":"Markdown","content":"For an engineering challenge, you have to make a project which has a certain height $n$, with a tolerance of $k$. This means that any height between $n$ - $k$ and $n$ + $k$ will be acceptable. For example, if $n$ was equal to 5, and $k$ was equal to 2, any height between 3 and 7, inclusive, would be acceptable.\n\nGiven these values $n$ and $k$, figure out the lower and upper height limit for the engineering project.\n\nThe input consists of two lines: positive integers $n$ and $k$, each on separate lines.\n\nOutput two lines. On the first line, output the lower height limit, as described above. On the second line, output the upper height limit, as described above.\n\n## Input\n\nThe input consists of two lines: positive integers $n$ and $k$, each on separate lines.\n\n## Output\n\nOutput two lines. On the first line, output the lower height limit, as described above. On the second line, output the upper height limit, as described above.\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ n \\in \\mathbb{Z}^+ $ be the target height.  \nLet $ k \\in \\mathbb{Z}^+ $ be the tolerance.  \n\n**Constraints**  \n$ n \\geq 1 $, $ k \\geq 1 $\n\n**Objective**  \nCompute:  \n- Lower limit: $ n - k $  \n- Upper limit: $ n + k $","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269179","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}