#include<bits/stdc++.h>
using namespace std;

typedef long long ll;
const ll INF = 9e18;
const int N = 55;

ll a[N];

int main()
{
	ll k; cin >> k;
	int n = 50;
	ll s = k / n;
	k %= n;
	for (int i = 0; i < n; i++) a[i] = i + s;
	for (int i = 0; i < k; i++)
	{
		a[i] += n + 1;
		for (int i = 0; i < n; i++) a[i]--;
	}
	cout << n << endl;
	for (int i = 0; i < n; i++) cout << a[i] << " ";
	return 0;
}