def left_to_right_check(input_line: str):
    """
    Check row-wise visibility from left to right.
    Return True if number of building from the
    left-most hint is visible looking to the right,
    False otherwise.

    input_line - representing board row.
    """
    if input_line[0] == "*":
        return True

    hint = int(input_line[0])
    visible_buildings = 1
    lst_of_nums = []

    for element in input_line[1:-1]:
        if element.isnumeric():
            lst_of_nums.append(int(element))
    print(lst_of_nums)
    for i in range(1, len(lst_of_nums)):
        counter = 0
        for j in range(0, len(lst_of_nums) - i):
            if lst_of_nums[j] < lst_of_nums[-i]:
                counter += 1
        if counter == len(lst_of_nums) - i:
            visible_buildings += 1

    if visible_buildings >= hint:
        return True
    return False