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