s = eval(input())

result = "ABC" + s

print(result)
print(("ABC" + eval(input())))
s = eval(input())
result = "ABC" + s
print(result)

print(("ABC" + eval(input())))

-s = eval(input()) -result = "ABC" + s -print(result) +print(("ABC" + eval(input())))