# https://yukicoder.me/problems/no/3609 import math MOD = 10 ** 9 + 7 def main(): 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 print(f"A+B+C={s}") if __name__ == "__main__": main()