// AOJ 2575
#include <iostream>
#include <string>
#include <map>

using namespace std;

int main(void)
{
	string str;
	cin >> str;

	string s = "AIDUNYAN";
	map <char, int> m, tmp;
	for (int i = 0; i < s.length(); i++){
		m[s[i]]++;
	}
	
	string ret;
	for (int i = 0; i < str.length(); i++){
		string a = str.substr(i, 8);
		tmp.clear();
		for (int j = 0; j < 8; j++) tmp[a[j]]++;
		if (tmp == m){
			ret += "AIZUNYAN";
			i += 7;
		}
		else {
			ret += str[i];
		}
	}
	cout << ret << endl;

	return 0;
}