Range to input