"""
CCC Problems - All Solutions Combined
Lecture 14 - Week 07
"""

# =============================================================================
# Problem 01: CCC 11 S1 - English or French?
# =============================================================================

n = int(input())
t_count = 0
s_count = 0

for _ in range(n):
    line = input()
    for char in line:
        if char in 'tT':
            t_count += 1
        elif char in 'sS':
            s_count += 1

if t_count > s_count:
    print("English")
else:
    print("French")


# =============================================================================
# Problem 02: CCC 13 J2 - Rotating letters
# =============================================================================

word = input()

rotating = True
for c in word:
    if c not in 'IOSHZXN':
        rotating = False

if rotating:
    print('YES')
else:
    print('NO')





# =============================================================================
# Problem 03: CCC 11 S2 - Multiple Choice
# =============================================================================

n = int(input())

answer  = []
correct = []

count = 0

for _ in range(n):
	answer.append(input())

for _ in range(n):
	correct.append(input())

for i in range(n):
	if answer[i] == correct[i]:
		count += 1

print(count)


# =============================================================================
# Problem 04: CCC 12 J3 - Icon Scaling
# =============================================================================

icon = [
		['*','x','*'],
		[' ','x','x'],
		['*',' ','*']
	]

k = int(input())

for row in range(3):
	for _ in range(k):
		print(icon[row][0] * k, end = '')
		print(icon[row][1] * k, end = '')
		print(icon[row][2] * k, end = '')
		print()








# =============================================================================
# Problem 05: CCC 24 J2 - Dusa And The Yobis
# =============================================================================

dusa = int(input())

while True:
	yobi = int(input())
	if dusa <= yobi:
		break
	dusa += yobi

print(dusa)


# =============================================================================
# Problem 06: CCC 14 J3 - Double Dice
# =============================================================================

n = int(input())

antonia = 100
david = 100

for _ in range(n):
	a_score, d_score = list(map(int, input().split()))

	if a_score < d_score:
		antonia -= d_score
	if d_score < a_score:
		david -= a_score

print(antonia)
print(david)














# =============================================================================
# Problem 07: CCC 16 J2 - Magic Squares
# =============================================================================

# Read the 4x4 grid

grid = []
for i in range(4):
    row = list(map(int, input().split()))
    grid.append(row)

# Calculate row sums
row_sums = []
for R in range(len(grid)):
    row_sum = sum(grid[R])
    row_sums.append(row_sum)

# Calculate column sums
col_sums = []
for C in range(len(grid)):
    col_sum = 0
    for R in range(len(grid[R])):
        col_sum += grid[R][C]
    col_sums.append(col_sum)


is_magic = True

# Check if all row sums are equal
first = row_sums[0]
for i in range(1,len(row_sums)):
	if first != row_sums[i]:
		is_magic = False

# Check if all row sums are equal
for i in range(len(col_sums)):
	if first != col_sums[i]:
		is_magic = False

if is_magic:
	print('magic')
else:
	print('not magic')






# =============================================================================
# Problem 08: CCC 19 J3 - INCOMPLETE
# =============================================================================

# ???


# =============================================================================
# Problem 09: CCC 15 J3 - Rovarspraket
# =============================================================================

word = input()

vowels = 'aeiou'

consonants = 'bcdfghjklmnpqrstvwxyz'
alphabet = 'abcdefghijklmnopqrstuvwxyz'
new_word = ""

for c in word:
    if c in consonants:
        new_word += c
        # get closest vowel
        distances = [
                    (abs(alphabet.index(c)-alphabet.index('a')), 'a'),
                    (abs(alphabet.index(c)-alphabet.index('e')), 'e'),
                    (abs(alphabet.index(c)-alphabet.index('i')), 'i'),
                    (abs(alphabet.index(c)-alphabet.index('o')), 'o'),
                    (abs(alphabet.index(c)-alphabet.index('u')), 'u'),
                ]
        distances.sort()
        new_word += distances[0][1]
        # get next consonent
        if c == 'z':
            next_consonant = 'z'
        else:
            next_consonant = consonants[consonants.index(c)+1]
        new_word += next_consonant
    else:
        new_word += c

print(new_word)


# =============================================================================
# END OF SOLUTIONS
# =============================================================================
