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