# coding: utf-8 # Your code here! import sys readline = sys.stdin.readline read = sys.stdin.read x = int(input()) if x == 0: print(3,2,129) print("+ 12 34") print(10) print(20) print(30) exit() k = x+1 m = min(10**5,k) n = x//m+1 d = m*n-x if d == 0: m -= 1 n = x//m+1 print(m,n,k) res = ["*"]+[1]+[k]*(n-1) print(*res) res = [1]*(d-1)+[k-1-(d-1)]+[k]*(m-d) print(*res,sep="\n")