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