A=lambda f:int(str(f)*2)*f
exec("print(A(input()));"*3)