Problem: Thanks to your help, Heidi is confident that no one can fool her. She has now decided to post some fake news on the HC2 Facebook page. However, she wants to be able to communicate to the HC2 committee that the post is fake, using some secret phrase hidden in the post as a subsequence. To make this method foolproof, she wants the phrase to appear n times in the post. She is asking you to design a post (string) s and a hidden phrase p such that p appears in s as a subsequence exactly n times.

Input

The first and only line of input contains a single integer n (1 ≤ n ≤ 1 000 000).

Output

The output should contain two nonempty strings s and p separated by a single space. Each string should be composed of letters (a-z and A-Z: both lowercase and uppercase are allowed) and have length at most 200. The number of occurrences of p in s as a subsequence should be exactly n. If there are many possible solutions, output any of them. It is guaranteed that at least one solution exists.

Examples

Input

2


Output

hHheidi Hei

Input

4


Output

bbbba ba

Input

6


Output

aaabb ab

Note

An occurrence of p as a subsequence in s should be thought of as a set of positions in s such that the letters at these positions, in order, form p. The number of occurences is thus the number of such sets. For example, ab appears 6 times as a subsequence in aaabb, for the following sets of positions: {1, 4}, {1, 5}, {2, 4}, {2, 5}, {3, 4}, {3, 5} (that is, we should choose one of the a's and one of the b's).

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
int fx[] = {-1, +0, +1, +0, +1, +1, -1, -1, +0};
int fy[] = {+0, -1, +0, +1, +1, -1, +1, -1, +0};
int day[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
template <typename T>
inline bool isLeap(T y) {
  return (y % 400 == 0) || (y % 100 ? y % 4 == 0 : false);
}
template <typename T>
inline T GCD(T a, T b) {
  a = abs(a);
  b = abs(b);
  if (a < b) swap(a, b);
  while (b) {
    a = a % b;
    swap(a, b);
  }
  return a;
}
template <typename T>
inline T EGCD(T a, T b, T &x, T &y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  T x1, y1;
  T d = EGCD(b % a, a, x1, y1);
  x = y1 - (b / a) * x1;
  y = x1;
  return d;
}
template <typename T>
inline T LCM(T x, T y) {
  T tp = GCD(x, y);
  if ((x / tp) * 1. * y > 9e18) return 9e18;
  return (x / tp) * y;
}
template <typename T>
inline T BigMod(T A, T B, T M = MOD) {
  T ret = 1;
  while (B) {
    if (B & 1) ret = (ret * A) % M;
    A = (A * A) % M;
    B = B >> 1;
  }
  return ret;
}
template <typename T>
inline T InvMod(T A, T M = MOD) {
  return BigMod(A, M - 2, M);
}
template <typename T>
T scani(T &n) {
  n = 0;
  bool negative = false;
  char c = getchar();
  while (c < '0' || c > '9') {
    if (c == '-') negative = true;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    n = n * 10 + c - 48;
    c = getchar();
  }
  if (negative) n = ~(n - 1);
  return n;
}
template <typename T>
void write(T n, int type = true) {
  if (n < 0) {
    putchar('-');
    n = -n;
  }
  if (!n) {
    putchar('0');
    if (type == 32)
      putchar(' ');
    else if (type)
      putchar('\n');
    return;
  }
  char buff[22];
  int len = 0;
  while (n) buff[len++] = n % 10 + 48, n /= 10;
  for (int i = len - 1; i >= 0; i--) putchar(buff[i]);
  if (type == 32)
    putchar(' ');
  else if (type)
    putchar('\n');
}
int scans(char *a) {
  int i = 0;
  char c = 0;
  while (c < 33) c = getchar();
  while (c > 33) {
    a[i++] = c;
    c = getchar();
  }
  a[i] = 0;
  return i;
}
void zAlgo(char *s, int *z) {
  int L, R, sz;
  sz = strlen(s);
  z[0] = L = R = 0;
  for (int i = (1); i < (sz); ++i) {
    z[i] = 0;
    if (i <= R) z[i] = min(z[i - L], R - i + 1);
    while (i + z[i] < sz && s[i + z[i]] == s[z[i]]) z[i]++;
    if (i + z[i] - 1 > R) L = i, R = i + z[i] - 1;
  }
}
void zAlgo(string &s, int *z) {
  int L, R, sz;
  sz = s.size();
  z[0] = L = R = 0;
  for (int i = (1); i < (sz); ++i) {
    z[i] = 0;
    if (i <= R) z[i] = min(z[i - L], R - i + 1);
    while (i + z[i] < sz && s[i + z[i]] == s[z[i]]) z[i]++;
    if (i + z[i] - 1 > R) L = i, R = i + z[i] - 1;
  }
}
void zAlgo(int *s, int *z, int n) {
  int L, R, sz;
  sz = n;
  z[0] = L = R = 0;
  for (int i = (1); i < (sz); ++i) {
    z[i] = 0;
    if (i <= R) z[i] = min(z[i - L], R - i + 1);
    while (i + z[i] < sz && s[i + z[i]] == s[z[i]]) z[i]++;
    if (i + z[i] - 1 > R) L = i, R = i + z[i] - 1;
  }
}
template <typename T>
inline T SqrDis(T x1, T y1, T x2, T y2) {
  return ((x1 - x2) * (x1 - x2)) + ((y1 - y2) * (y1 - y2));
}
template <typename T>
inline T Area2(T Ax, T Ay, T Bx, T By, T Cx, T Cy) {
  T ret = Ax * (By - Cy) + Bx * (Cy - Ay) + Cx * (Ay - By);
  if (ret < 0) return ret = -ret;
  return ret;
}
const int N = 2000006;
const int M = 44444;
const unsigned long long hs = 3797;
char ch[111];
int n, m;
int main() {
  cin >> n;
  if (n == 1) {
    cout << "a a\n";
    return 0;
  }
  for (char i = 'a'; i <= 'z'; i++) ch[++m] = i;
  for (char i = 'A'; i <= 'Z'; i++) ch[++m] = i;
  m = 0;
  string a, b;
  while (n > 1) {
    n--;
    if (n & 1)
      a += ch[++m];
    else {
      n /= 2;
      a += ch[++m];
      a += ch[m];
    }
  }
  for (int i = 1; i <= m; i++) b += ch[i];
  cout << a << b << ' ' << b << '\n';
  return 0;
}