#!/usr/bin/python
import random
def assemble():
	s = str()
	front = random.randint(0,1) #determines whether noun appears at front or back
	if front:
		s = "The "
		if random.randint(0,1):
			s = s + random.choice(ADJECTIVE) + " "
		if random.randint(0,1):
			s = s + random.choice(NOUN) + " of "
	s = s + random.choice(NAME1) + random.choice(NAME2)
	if not front:
		if random.randint(0,1):
			s = s + " " + random.choice(NOUN)
	return s

NAME1 = (
"Winter",
"Night",
"Arrow",
"Hawk",
"Iron",
"Dragon",
"Dragon",
"Flame",
"North",
"River",
"Storm",
"West",
"Deep",
"Old",
"Sea",
"Golden",
"Fair",
"Ash",
"Silver",
"Drake",
"Bitter",
"Helm"
)
NAME2 = (
"run",
"well",
"fell",
"hall",
"deep",
"'s Keep",
"keep",
"reach",
"hold",
"rest",
"wood",
" Rock",
"dale",
"stone",
"crown",
"fort",
" Motte",
"'s Watch",
"guard",
"tooth",
" Peak"
)
NOUN = (
"Castle",
"Fort",
"Tower",
"Fortress",
"Bastion",
"Keep",
"City"
)
ADJECTIVE = (
"Ancient",
"Black",
"Mighty",
"Lonely",
"Noble",
"Ruined",
"Free"
)
print assemble()
