#同符号运算
num=int(input())
Num=abs(num)
oper1 = Num + 10
oper2 = Num - 10
oper3 = Num * 10
if num < 0:
oper1 = -abs(oper1)
oper2 = -abs(oper2)
oper3 = -abs(oper3)
else:
oper1 = abs(oper1)
oper2 = abs(oper2)
oper3 = abs(oper3)
print(Num , oper1 , oper2 , oper3 , end = "")
print("\n3009")