version 2

takes user input using raw_input()