a,b,c=map(int,input().split())
if c-b==b-a:
t=c-b
print(c+t,c+t+t,c+t+t+t)
else:
t=c//b
print(c*t,c*t*t,c*t*t*t)
/**************************************************************
Problem: 1051
User: admin
Language: Python
Result: Accepted
Time:87 ms
Memory:34480 kb
****************************************************************/