# EVEN SAFER!
# 
# Pull in only the functions we actually use.
# That imports only the functions we actually use, 
# makes it obvious where the functions come from, and avoids
# running the main function from common_phrases2 automatically.
from common_phrases3 import say_hello, say_goodbye

def main():
    name = input("Enter the name of the person to greet: ")
    print("Supported languages are English, Telugu, French, and German")
    language = input("Enter the language code (eng, tel, fr, ger): ").strip().lower()
    print()
    say_hello(name, language)
    print("\n It was very nice to meet you!\n")
    say_goodbye(name, language)
    print()

if __name__ == "__main__":
    main()
