n=eval(input())N=abs(n)a=N+10b=N-10c=N*10if n<0: a=-abs(a) b=-abs(b) c=-abs(c)else: a=abs(a) b=abs(b) c=abs(c)print(N,a,b,c,end="")