2019-02-18 ABC118 A A atcoder 問題 bをaで割り切れたら、a + b を出力。 そうでなければ、b - a を出力 a, b = map(int, input().split()) print(a + b if b % a == 0 else b - a)