{"problem":{"name":"B +/- A","description":{"content":"You are given positive integers $A$ and $B$. If $A$ is a divisor of $B$, print $A + B$; otherwise, print $B - A$.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc118_a"},"statements":[{"statement_type":"Markdown","content":"You are given positive integers $A$ and $B$.\nIf $A$ is a divisor of $B$, print $A + B$; otherwise, print $B - A$.\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\leq A \\leq B \\leq 20$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc118_a","tags":[],"sample_group":[["4 12","16\n\nAs $4$ is a divisor of $12$, $4 + 12 = 16$ should be printed."],["8 20","12"],["1 1","2\n\n$1$ is a divisor of $1$."]],"created_at":"2026-03-03 11:01:14"}}