a=input()
if a=="dog":
	print("狗")
elif a=="cat":
	print("猫")


else:
	print("鸡")
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
print(max(a,b,c))
s=input()
t=input()

cd=len(s)

ans=""
for i in range(cd):
	if i%2==0:
		ans=ans+s[i]
	else:
		ans=ans+t[i]

print(ans)
a=input()
b=input()
c=input()

print(a+"+"+b+c+"=="+b+"+"+a+c)
a=[9,2,8,7,3,6,5,10,4,1]
L=int(input())
R=int(input())
print(sum(a[L:R+1]))
n=int(input())


for i in range(n,1,-1):
	
	yes=True
	
	
	for j in range(2,i):
		if i%j==0:
			yes=false
			
		if yes==True:
			ptint(i)
			break