def better_input(query: str) -> str:
    """
	simple function to manage whitespaces and KeyboardInterrupt events during input() calls

    :param query: input() value
    :return: str
    """
    try:
        response = input(query).strip()
        return response
    except KeyboardInterrupt:
        print("\nGood Bye~ ")
        exit(1)