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