#include //#include using namespace std; //using namespace atcoder; using ll = long long; //using mint = modint998244353; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int H, W; cin >> H >> W; for (int i=0; i> S; vector ok(W, 1); for (int j=0; j<=W-6; j++){ if (ok[j] && S.substr(j, 6) == "yiwiy9"){ for (int k=0; k<6; k++) ok[j+k] = 0; S.replace(j, 6, "yiwiY9"); } else if (ok[j] && S.substr(j, 6) == "9yiwiy"){ for (int k=0; k<6; k++) ok[j+k] = 0; S.replace(j, 6, "9Yiwiy"); } } cout << S << '\n'; } return 0; }