#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, word_length;
  cin >> N;
  string word = "abcdefghijklmnopqrstuvwxyz";
  word_length = (word.substr(0, N)).length();
  cout << word.substr(0, N) << endl;
}
