#include <cstdio>
#include <algorithm>
#include <iostream>

using namespace std;

int main() {
  for (int j = 0; j < 2; j++) {
    for (int i = 0; i < (int)1e7; i++)
      putchar('a');
    putchar('\n');
  }
}