#include using namespace std; using ll = long long; #define fi first #define se second #define all(a) a.begin(),a.end() int main(){ vector> q(4); q[0].push('A'); q[0].push('E'); q[1].push('B'); q[2].push('C'); q[3].push('D'); int k; cin >> k; for(int i=0; i