A,B,C=map(int,input().split()) if A==B==C==1: print('A+B+C=Infinity') else: print('A+B+C={}'.format(A+B+C))