Problem: Many countries have such a New Year or Christmas tradition as writing a letter to Santa including a wish list for presents. Vasya is an ordinary programmer boy. Like all ordinary boys, he is going to write the letter to Santa on the New Year Eve (we Russians actually expect Santa for the New Year, not for Christmas). 

Vasya has come up with an algorithm he will follow while writing a letter. First he chooses two strings, s1 anf s2, consisting of uppercase English letters. Then the boy makes string sk, using a recurrent equation sn = sn - 2 + sn - 1, operation '+' means a concatenation (that is, the sequential record) of strings in the given order. Then Vasya writes down string sk on a piece of paper, puts it in the envelope and sends in to Santa. 

Vasya is absolutely sure that Santa will bring him the best present if the resulting string sk has exactly x occurrences of substring AC (the short-cut reminds him оf accepted problems). Besides, Vasya decided that string s1 should have length n, and string s2 should have length m. Vasya hasn't decided anything else.

At the moment Vasya's got urgent New Year business, so he asks you to choose two strings for him, s1 and s2 in the required manner. Help Vasya.

Input

The first line contains four integers k, x, n, m (3 ≤ k ≤ 50; 0 ≤ x ≤ 109; 1 ≤ n, m ≤ 100).

Output

In the first line print string s1, consisting of n uppercase English letters. In the second line print string s2, consisting of m uppercase English letters. If there are multiple valid strings, print any of them.

If the required pair of strings doesn't exist, print "Happy new year!" without the quotes.

Examples

Input

3 2 2 2


Output

AC
AC


Input

3 3 2 2


Output

Happy new year!


Input

3 0 2 2


Output

AA
AA


Input

4 3 2 1


Output

Happy new year!


Input

4 2 2 1


Output

Happy new year!

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
int min(int a, int b) {
  if (a < b) return a;
  return b;
}
int max(int a, int b) {
  if (a > b) return a;
  return b;
}
long long F[55];
long long G[55];
long long H[55];
long long I[55];
long long J[55];
void printResp(int a, int b, int c, int d, int e, int n, int m) {
  int i = 0;
  if (c) printf("C");
  for (i = 0; i < a; i++) printf("AC");
  for (i = 2 * a + c; i < n - d; i++) printf("X");
  if (d) printf("A");
  printf("\n");
  if (d || e) printf("C");
  for (i = 0; i < b; i++) printf("AC");
  for (i = 2 * b + max(d, e); i < m - max(c, e); i++) printf("X");
  if (c || e) printf("A");
  printf("\n");
}
int main() {
  int k, x, n, m;
  int i;
  int a, b, c, d, e;
  scanf("%d %d %d %d", &k, &x, &n, &m);
  F[1] = 1;
  F[2] = 0;
  G[1] = 0;
  G[2] = 1;
  H[1] = 0;
  H[2] = 0;
  I[1] = 0;
  I[2] = 0;
  I[3] = 1;
  J[1] = 0;
  J[2] = 0;
  J[3] = 0;
  for (i = 3; i <= k; i++) {
    F[i] = F[i - 2] + F[i - 1];
    G[i] = G[i - 2] + G[i - 1];
    if (i % 2) {
      H[i] = H[i - 2] + H[i - 1];
      if (i > 3) J[i] = J[i - 2] + J[i - 1] + 1;
    } else {
      H[i] = H[i - 2] + H[i - 1] + 1;
      if (i > 3) J[i] = J[i - 2] + J[i - 1];
    }
    if (i > 3) I[i] = I[i - 2] + I[i - 1];
  }
  for (a = 0; a <= n / 2; a++) {
    for (b = 0; b <= m / 2; b++) {
      for (c = 0; c <= 1; c++) {
        for (d = 0; d <= 1; d++) {
          for (e = 0; e <= 1; e++) {
            if ((F[k] * a + G[k] * b + H[k] * c + I[k] * d +
                     max(c * d, e) * J[k] ==
                 x) &&
                (2 * a + c + d <= n) && (2 * b + max(2 * e, c + d) <= m)) {
              printResp(a, b, c, d, e, n, m);
              return 0;
            }
          }
        }
      }
    }
  }
  printf("Happy new year!\n");
  return 0;
}