# your code goes here

i = raw_input(">")

if i.isdigit():
	print "Nice numer"
elif i.isalpha():
	print "Word"
else:
	print "Number and word"

