"""
Exercise 2.4.6

Discovering Computer Science, Third Edition
Jessen Havill
"""

def party(adj1, noun1, noun2, adj2, noun3):
    print('How to Throw a Party')
    print()
    print('If you are looking for a/an ' + adj1 + ' way to')
    print('celebrate your love of ' + noun1 + ', how about a')
    print(noun2 + '-themed costume party?  Start by')
    print('sending invitations encoded in ' + adj2 + ' format')
    print('giving directions to the location of your ' + noun3 + '.')

def main():
    first_adj = input('Adjective: ')
    first_noun = input('Noun: ')
    second_noun = input('Noun: ')
    second_adj = input('Adjective: ')
    third_noun = input('Noun: ')
    party(first_adj, first_noun, second_noun, second_adj, third_noun)

main()