MAX_C = 10 ** 9 x, y, a = read_line.split.map &.to_i check = ->(i : Int32) { x * i // 100 < y * i // 100 + a } if x == y puts a == 0 ? 0 : MAX_C else limit = (a + 1) * 100 puts (1..limit).count { |i| check.call(i) } + (check.call(limit + 1) ? 1 : 0) * (MAX_C - limit) end