i = 4
d = 4.0
s = 'HackerRank '

ii = int(input())
dd = float(input())
ss = input()

print(i+ii)
print(d+dd)
print(f"{s}{ss}")
i = 4
d = 4.0
s = 'HackerRank '

ii = int(input())
dd = float(input())
ss = input()

print(i+ii)
print(d+dd)
print(f"{s}{ss}")