#include "bits/stdc++.h"

using namespace std;

int main() {
  using ull = unsigned long long;
  ull ans[50];
  ull k;
  cin >> k;
  cout << 50 << endl;
  ull j = k / 50;
  int i = k % 50;
  for (auto &x : ans) {
    x = 49 + j;
  }
  for (int a = 0; a < i; ++a) {
    ans[a] += 51;
  }
  for (auto &x : ans) {
    x -= i;
    cout << x << " ";
  }
}
#include <bits/stdc++.h>
using namespace std;
#define finish(x) return cout << x << endl, 0
#define ll long long

ll k;

int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cin >> k;
    int n = 50;
    vector <ll> a(n);
    for(int i = 0 ; i < n ; i++){
        a[i] = i;
    }
    ll f = k / n;
    for(auto &i : a) i += f * n;
    for(auto &i : a) i -= f * (n - 1);
    for(int itt = 0 ; itt < k % n ; itt++){
        int mn = 0;
        for(int j = 0 ; j < n ; j++){
            if(a[j] < a[mn]) mn = j;
        }
        for(int j = 0 ; j < n ; j++){
            if(j == mn) a[j] += n;
            else a[j]--;
        }
    }
    cout << n << endl;
    for(auto &i : a) cout << i << " ";
    cout << endl;
}
