pydef main(): import math A, B, W = map(int, input().split()) W *= 1000 WB = math.ceil(W / B) WA = math.floor(W / A) if WA < WB: print("UNSATISFIABLE") return print(WB, WA)
pydef main(): N = int(input()) d = 999 ret = 0 while N > d: ret += N - d d = d * 1000 + 999 print(ret)