def rescale_value(value):
 s = (1 if (value >= 50) else (-1))
 c = (value if (value < 50) else (value - 50))
 return (s * (c * 64))

def rescale_value ( value ) : s = ( 1 if ( value >= 50 ) else ( - 1 ) ) c = ( value if ( value < 50 ) else ( value - 50 ) ) return ( s * ( c * 64 ) )
rescale the input value from the range of 0 .