get token using raw_input