A, B, C = [int(s) for s in input().split()] ans = A + B + C if A == B == C == 1: print("A+B+C=Infinity") else: print(f"A+B+C={ans}")