def check_error(input_number):
    """
	Check type errors in the input
	"""
    if type(input_number) is str or type(input_number) is float:
        raise Exception('Input must be int')
    try:
        input_number = int(input_number)
    except:
        raise Exception('n must be integer')
