#!/usr/bin/env python
#

# past first person: d h b tu
# past second person masc: d h b ta
# past second person fem: d h b ti
# past third person masc: d h b
# past third person fem: d h b t
# past first person plural: d h b n a
# past second person plural: d h b t n
# past third person plural: d h b u

# present first person: a d h b 
# present second person masc: t d h b 
# present second person fem: t d h b in
# present third person masc: ya d h b
# present third person fem: t d h b 
# present first person plural: n d h b 
# present second person plural: t d h b un
# present third person plural: ya d h b un

suffixconjugation= {'pastfirstpersonsingular': 'tu', 'pastsecondpersonmasc': 'ta'}

prefixconjugation = {'presentfirstperson' : 'a'}

mydictionary = {'go' : 'dhb', 'ir' : 'dhb', 'read' : 'qr', 'leer' : 'qr'}

ineng = input ("Please give me a root followed by a conjugation e.g., 'go past second person masc'. ")
mywords = ineng.split(" ")
# print mywords 
root = mydictionary[mywords[0]] 
if(mywords[1] == 'past'):
	print(root + suffixconjugation[''.join(mywords[1:])])
else:
	print(prefixconjugation[''.join(mywords[1:])] + root + suffixconjugation[''.join(mywords[1:])])









