A, B, C = map(int, input().split()) if A == B == C: print("A+B+C=Infinity") else: print(f"A+B+C={A + B + C}")