def get_w_i(i: int) -> str:
    """
    Returns string in form of 1,2,...,12,1,..1 depending on how many 1s should be appended to the end
    :param i: Number of 1s in the end of the string
    :return: String output
    """
    return "%s" % ','.join([str(i) for i in range(1, 13)] + (["1"] * i))