/**
 * Created by kagawa on 2017/07/29.
 */
function main(input){
    var K = Number(input);


    var N = K+1;
    var a = [];
    if(N==1){
        N=4;
        for(var i=0; i<N; i++){
            a.push(3);
        }
    }else {
        a.push((N - 1) + (N - 1) * N);
        for (var i = 1; i < N; i++) {
            a.push(0);
        }
    }
    if(N==2){
        N=3;
        a.push(1);
        a.push(0);
        a.push(3);
    }

    var str = String(a[0]);
    for(var i=1; i<N; i++){
        str = str + " " + a[i];
    }
    console.log(N);
    console.log(str);
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));