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