def handle_input(input_string):
    """
    This function convert string input to integer and return 0 in error
    :param input_string: input sring
    :type input_string:str
    :return: integer number
    """
    try:
        return int(input_string)
    except Exception as e:
        return 0
