import sys
m, n, k = map(int, sys.stdin.readline().split())
num = list(map(int, input().split()))
pushed = list(map(int, input().split()))
ans = 'normal'
for i in range(len(pushed)):
check = False
if pushed[i] == num[0]:
check = True
for j in range(1, m):
if i + j >= len(pushed):
check = False
elif pushed[i + j] != num[j]:
check = False
if check:
ans = 'secret'
print(ans)
없음