def well_row_name(x):
    """Return a well row name for the given zero-based index"""
    if x < 26:
        return chr(ord("A") + x)
    return chr(ord("A") + int(x / 26) - 1) + chr(ord("A") + x % 26)