import re while 1: a,b,c,d=map(int,re.findall(r'-?\d', input())) m=[a*c,a*d,b*c,b*d] print('range({},{})'.format(min(m),max(m)))