while 1:
    try:
        m = int(input())
        l = map(str, [m*(m-1)+2*i+1 for i in range(m)])
        print('+'.join(l))
    except:
        break