s = sum(map(int,input().split())) if s == 3: s = 'Infinity' print(f'A+B+C={s}')