a = float(input())b = float(input())if (a == 0) and (b != 0): print('Решений нет')elif a == b == 0: print('x - любое число')else: print('x =', b/a)