#include <bits/stdc++.h>
using namespace std;
template <typename tn>
inline tn next(void) {
  tn k;
  cin >> k;
  return k;
}
template <typename tn>
inline ostream& operator<<(ostream& os, const vector<tn>& v) {
  for (int i = 0; (unsigned)i < v.size(); i++) os << v[i] << ' ';
  return os;
}
int main(void) {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout << R"(aaa
aab
aba
abb
abc)" << endl;
  return ~~(0 - 0);
}
