var x1, y1, x2, y2: real;begin read(x1, y1, x2, y2); if sqr(x1) + sqr(y1) < sqr(x2) + sqr(y2) then write('first') else if sqr(x1) + sqr(y1) > sqr(x2) + sqr(y2) then write('second') else write('equally')end.