import std; void main () { int A, B, X; readln.read(A, B, X); writeln(B * ((X + A - 1) / A)); } void read (T...) (string S, ref T args) { import std.conv : to; import std.array : split; auto buf = S.split; foreach (i, ref arg; args) { arg = buf[i].to!(typeof(arg)); } }