def left_to_right_check(input_line: str, pivot: int):
    """
    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.
    pivot - number on the left-most hint of the input_line.

    >>> left_to_right_check("412453*", 4)
    True
    >>> left_to_right_check("452453*", 5)
    False
    """
    visibility = True
    visible = 1
    modified_row = input_line[1:-1]
    last_largest = int(modified_row[0])
    for number in modified_row:
        if int(number) > last_largest:
            last_largest = int(number)
            if int(number)>=last_largest :
                visible+=1
    if visible != pivot:
        visibility = False

    return visibility