function to return 1 if it is zero returns 0 if it is negative returns 2 if it is positive
def index ( i ) : NEW_LINE INDENT return 1 + ( i >> 31 ) - ( - i >> 31 ) NEW_LINE DEDENT def check ( n ) : NEW_LINE