<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _stdin_(p):
 """Takes input from user. Works for Python 2 and 3."""

    _v = sys.version[0]
    return input(p) if _v is '3' else raw_input(p)