while 1:print('fsrmoiwlneyy'[input()in'(-:-)(:)'::2])