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