# ITP1_1_A
print("Hello World")
# ITP1_1_B
x = int(input())
print(x**3)
# ITP1_1_C
a,b = map(int,input().split(" "))
area = a*b
length = 2*(a+b)
print(area,length)
# ITP1_1_D
S = int(input())
s = S%60
M = S//60
m = M%60
h = M//60
print(f"{h}:{m}:{s}")