def sum_non_x(input_board: list) -> int:
    """Sums all non marked numbers in board"""

    total = 0
    for board_line in input_board:
        total += sum([0 if board_line[i] == "X" else board_line[i] for i in range(5)])
    return total