#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) #define Inf 1000000001 int main(){ string s[4] = {"AE","B","C","D"}; int k; cin>>k; rep(i,k){ int x = i; int y = (i+1)%4; s[y] += s[x][0]; s[x].erase(s[x].begin()); } rep(i,4)cout<