#include <bits/stdc++.h>
using namespace std;

int main() {
	const string AIZUNYAN = "AIZUNYAN";
	string AIDUNYAN = "AIDUNYAN";
	sort(AIDUNYAN.begin(), AIDUNYAN.end());

	string D;
	cin >> D;

	for(unsigned i = 0; i + AIDUNYAN.size() <= D.size();) {
		string tmp = D.substr(i, AIDUNYAN.size());
		sort(tmp.begin(), tmp.end());

		if(AIDUNYAN == tmp) {
			for(const auto &e : AIZUNYAN) {
				D[i++] = e;
			}
		}
		else {
			++i;
		}
	}

	cout << D << endl;

	return 0;
}