#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
 
int main(){
	ll n;
	cin >> n;
	string ans = "";
	while(n != 0){
		char b = 'a' + n%26 - 1;
		if(b == '`') b = 'z';
		ans += b;
		n = (n-1)/26;
	}
	reverse(ans.begin(), ans.end());
	cout << ans << endl;
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep2(i, x, n) for(int i = x; i <= n; i++)
#define rep3(i, x, n) for(int i = x; i >= n; i--)
#define elif else if
#define sp setprecision
#define pb(x) push_back(x)
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<int, ll> pil;
typedef pair<ll, int> pli;
typedef pair<ld, ld> pdd;
const ll MOD = 1e9+7;
//const ll MOD = 998244353;
const int inf = 1e8;
const ll INF = 1e16;
const string alpha = "abcdefghijklmnopqrstuvwxyz";

int main(){
    ll K;
    cin >> K;
    ll x = (K+49)/50, y = 50*x-K;
    //すべてをx+49にした状態からy回進めた状態
    cout << 50 << endl;
    rep(i, y) cout << x+49-50+y-1 << ' ';
    rep(i, 50-y) cout << x+49+y << ' ';
    cout << endl;
}