#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; for (int j=0; j<=W-6; j++){ if (S.substr(j, 6) == "yiwiy9") S.replace(j, 6, "yiwiY9"); else if (S.substr(j, 6) == "9yiwiy") S.replace(j, 6, "9Yiwiy"); } cout << S << '\n'; } return 0; }