"I don't have any fancy quotes." - vijju123
Chef was reading some quotes by great people. Now, he is interested in classifying all the fancy quotes he knows. He thinks that all fancy quotes which contain the word "not" are Real Fancy; quotes that do not contain it are regularly fancy.
You are given some quotes. For each quote, you need to tell Chef if it is Real Fancy or just regularly fancy.

-----Input-----
- The first line of the input contains a single integer $T$ denoting the number of test cases. The description of $T$ test cases follows.
- The first and only line of each test case contains a single string $S$ denoting a quote.

-----Output-----
For each test case, print a single line containing the string "Real Fancy" or "regularly fancy" (without quotes).

-----Constraints-----
- $1 \le T \le 50$
- $1 \le |S| \le 100$
- each character of $S$ is either a lowercase English letter or a space

-----Subtasks-----
Subtask #1 (100 points): original constraints

-----Example Input-----
2
i do not have any fancy quotes
when nothing goes right go left

-----Example Output-----
Real Fancy
regularly fancy

-----Explanation-----
Example case 1: "i do not have any fancy quotes"
Example case 2: The word "not" does not appear in the given quote.

Difficulty: EASY

Solutions:
T = int(input())
for i in range(T):
	S = str(input())
	S = S.split()
	for j in S:
		if j == 'not':
			print('Real Fancy')
			break
	else:
		print('regularly fancy')


for i in range(int(input())):
	a = input().split()
	if 'not' in a:
		print('Real Fancy')
	else:
		print('regularly fancy')


for _ in range(int(input())):
	s = input().split()
	if 'not' in s:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	l = list(map(str, input().split()))
	for i in l:
		if i == 'not':
			print('Real Fancy')
			break
	else:
		print('regularly fancy')


for i in range(int(input())):
	s = input()
	l = []
	for i in s.split():
		l.append(i)
	if 'not' in l:
		print('Real Fancy')
	else:
		print('regularly fancy')


a = int(input())
k = a
while k != 0:
	x = input().split()
	if 'not' in x:
		print('Real Fancy')
	else:
		print('regularly fancy')
	k = k - 1


t = int(input())
while t != 0:
	t = t - 1
	s = input()
	l = list(s.split())
	x = 'not'
	if x in l:
		print('Real Fancy')
	else:
		print('regularly fancy')


n = int(input())
while n > 0:
	s1 = list(input().split())
	flag = 0
	for i in range(0, len(s1)):
		if str(s1[i]) == 'not':
			flag = 1
	if flag == 1:
		print('Real Fancy')
	else:
		print('regularly fancy')
	n = n - 1


for t in range(int(input())):
	s = list(map(str, input().split(' ')))
	x = 'not'
	if x in s:
		print('Real Fancy')
	else:
		print('regularly fancy')


import re
for tc in range(int(input())):
	s = input().strip()
	a = re.search('\\bnot\\b', s)
	if a:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	s = list(input().split())
	x = 'not'
	c = s.count(x)
	if c >= 1:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	s = input()
	result = 'regularly fancy'
	s_list = s.split()
	for i in s_list:
		if i == 'not':
			result = 'Real Fancy'
	print(result)


for i in range(int(input())):
	n = input()
	tmp = n.split(' ')
	if 'not' in tmp:
		print('Real Fancy')
	else:
		print('regularly fancy')


banyak_kasus = int(input())
while banyak_kasus > 0:
	kalimat = input()
	kata_kata = kalimat.split(' ')
	pengdeteksi = list(map(lambda x: 1 if 'not' in x and len(x) == 3 or x[len(x) - 3:len(x)] == "n't" else 0, kata_kata))
	if 1 in pengdeteksi:
		print('Real Fancy')
	else:
		print('regularly fancy')
	banyak_kasus -= 1


for i in range(int(input())):
	s = input().split()
	for i in s:
		if i == 'not':
			print('Real Fancy')
			break
	else:
		print('regularly fancy')


for _ in range(int(input())):
	s = input()
	p = s.split(' ')
	l = len(p)
	if 'not' in p:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
while t > 0:
	s = input()
	n = len(s)
	a = ' not '
	if s == 'not':
		print('Real Fancy')
	elif a in s or s[n - 4:n] == ' not' or s[0:4] == 'not ':
		print('Real Fancy')
	else:
		print('regularly fancy')
	t = t - 1


for _ in range(int(input())):
	a = input().split()
	b = 'not'
	if b in a:
		print('Real Fancy')
	else:
		print('regularly fancy')


for _ in range(int(input())):
	s = ' ' + input() + ' '
	if ' not ' in s:
		print('Real F', end='')
	else:
		print('regularly f', end='')
	print('ancy')


q = int(input())
while q > 0:
	l = input()
	l = list(l.split())
	if 'not' in l:
		print('Real Fancy')
	else:
		print('regularly fancy')
	q = q - 1


t = int(input())
for _ in range(t):
	s = input()[:100]
	s.lower()
	k = s.split()
	if 'not' in k:
		print('Real Fancy')
	else:
		print('regularly fancy')


def check(s):
	s = list(s.split())
	if 'not' in s:
		return 'Real Fancy'
	return 'regularly fancy'
n = int(input())
for i in range(n):
	s = input()
	print(check(s))


a = int(input(''))
for i in range(a):
	t = list(map(str, input('').split()))
	c = 0
	for j in t:
		if j == 'not':
			c = c + 1
	if c != 0:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
for ni in range(t):
	s = input().split()
	if 'not' in s:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
for i in range(0, t):
	s = input()
	flag = 0
	p = 'not'
	s = s.split(' ')
	for i in s:
		if i == p:
			flag = 1
			break
	if flag == 1:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	s = input()
	if len(s) >= 4:
		if s[:4] == 'not ' or s[len(s) - 4:len(s)] == ' not':
			print('Real Fancy')
		elif ' not ' in s:
			print('Real Fancy')
		else:
			print('regularly fancy')
	elif s == 'not':
		print('Real Fancy')
	else:
		print('regularly fancy')


testcases = int(input())
for i in range(testcases):
	data = input().split()
	if 'not' in data:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
for i in range(t):
	s = input()
	s = ' ' + s + ' '
	i = 0
	while i < len(s):
		if s[i] == 'n':
			if s[i + 1] == 'o':
				if s[i + 2] == 't':
					if s[i + 3] == ' ' and s[i - 1] == ' ':
						print('Real Fancy')
						break
		i += 1
	else:
		print('regularly fancy')


t = int(input())
for _ in range(t):
	st = input()
	st = '  ' + st + '  '
	if ' not ' in st:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
for tc in range(t):
	s = input()
	d = list(s.split())
	b = 'not'
	if b in d:
		print('Real Fancy')
	else:
		print('regularly fancy')


tc = int(input())
while tc:
	s = list(input().split())
	if 'not' in s:
		print('Real Fancy')
	else:
		print('regularly fancy')
	tc -= 1


t = int(input())
for i in range(t):
	s = input().split()
	w = 'not'
	if w in s:
		print('Real Fancy')
	else:
		print('regularly fancy')


T = int(input())
for i in range(T):
	s = input()
	s1 = s.split(' ')
	if 'not' in s1:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
while t:
	s = input()
	word = 'not'
	wordlist = s.split()
	if word in wordlist:
		print('Real Fancy')
	else:
		print('regularly fancy')
	t = t - 1


for x in range(int(input())):
	a = input().split(' ')
	x = 0
	for char in a:
		if char == 'not':
			x = 1
			break
	if x == 0:
		print('regularly fancy')
	else:
		print('Real Fancy')


t = int(input())
while t:
	S = list(map(str, input().split(' ')))
	for i in S:
		if i == 'not':
			print('Real Fancy')
			break
	else:
		print('regularly fancy')
	t = t - 1


cxz = 'not'
for _ in range(int(input())):
	cx = input()
	for x in cx.split(' '):
		if x == cxz:
			print('Real Fancy')
			break
	else:
		print('regularly fancy')


for t in range(int(input())):
	x = input()
	x = x.split()
	for i in x:
		if i == 'not':
			print('Real Fancy')
			break
	else:
		print('regularly fancy')


t = int(input())
for i in range(t):
	s = input().split(' ')
	r = 0
	for j in range(len(s)):
		if s[j] == 'not':
			r = r + 1
			break
	if r == 1:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	S = list(input().split())
	P = 'not'
	P1 = S.count(P)
	if P1 >= 1:
		print('Real Fancy')
	else:
		print('regularly fancy')


for i in range(int(input())):
	x = input().split()
	n = 0
	for i in range(len(x)):
		if x[i] == 'not':
			n += 1
	if n >= 1:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())

def do():
	s = input()
	if 'not' in s.split():
		print('Real Fancy')
	else:
		print('regularly fancy')
	return
for i in range(t):
	do()


for _ in range(int(input())):
	l = input()
	l = list(l.split(' '))
	if 'not' in l:
		print('Real Fancy')
	else:
		print('regularly fancy')


t = int(input())
while t:
	ls = input().split()
	if 'not' in ls:
		print('Real Fancy')
	else:
		print('regularly fancy')
	t = t - 1


import re
t = int(input())
while t > 0:
	s = list(input().split(' '))
	if 'not' in s:
		print('Real Fancy')
	else:
		print('regularly fancy')
	t = t - 1