#include<iostream>
#include<string>
#include<cstring>
#include<cctype>
#define loop(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
using namespace std;

int main(){
	string D,ans="";
	int i=0,cnt=0;
	cin>>D;
	while(i+8<=D.size()){
		int aiduny[6]={0};
		for(int j=i;j<i+8;j++){
			if(D[j]=='A')aiduny[0]++;
			else if(D[j]=='I')aiduny[1]++;
			else if(D[j]=='D')aiduny[2]++;
			else if(D[j]=='U')aiduny[3]++;
			else if(D[j]=='N')aiduny[4]++;
			else if(D[j]=='Y')aiduny[5]++;
		}
		if(aiduny[0]==2 && aiduny[1] && aiduny[2] && aiduny[3] && aiduny[4]==2 && aiduny[5]){
			ans=ans+D.substr(cnt,i-cnt)+"AIZUNYAN";
			i+=8;
			cnt=i;
		}else{
			i++;
		}
	}
	ans+=D.substr(cnt);
	cout<<ans<<endl;
	return 0;
}