n=int(input()) s=input() if '404' in s: print('Found') else: print('NotFound')