def chunk_input(inp, number_of_characters_per_string):
    """
    Breaks an input string inp into chunks of up to number_of_characters_per_string
    """
    for i in range(0, len(inp), number_of_characters_per_string):
        yield inp[i:i + number_of_characters_per_string]
