version 2 using raw_input()