#include <iostream>
#include <cstdio>
#include <string>
#include <cstring>
#include <deque>
#include <list>
#include <queue>
#include <stack>
#include <vector>
#include <utility>
#include <algorithm>
#include <map>
#include <set>
#include <complex>
#include <cmath>
#include <limits>
#include <cfloat>
#include <climits>
#include <ctime>
#include <cassert>
#include <numeric>
#include <functional>
#include <bitset>

using namespace std;
#define int long long int

signed main(){
    
    string s; cin >> s;
    int n = (int)s.size();
    string t = "AIDUNYAN";
    string aizu = "AIZUNYAN";
    sort(t.begin(), t.end());
    for(int i = 0; i <= n - 8; i++){
        string tmp = s.substr(i, 8);
        sort(tmp.begin(), tmp.end());
        if(t == tmp){
            string u = "";
            for(int j = 0; j < i; j++) u.push_back(s[j]);
            u = u + aizu;
            for(int j = i + 8; j < n; j++) u.push_back(s[j]);
            s = u;
            i += 7;
        }
    }

    cout << s << endl;
    return 0;
}

