#include<iostream>
#include<string>
#include<algorithm>

using namespace std;

int main(){
  string D;
  cin>>D;
  string s="AIDUNYAN",t="AIZUNYAN";
  for(int i=0;i+s.size()-1<D.size();){
    string c(begin(D)+i,begin(D)+i+s.size());
    sort(begin(s),end(s));
    sort(begin(c),end(c));
    if(s==c){
      copy(begin(t),end(t),begin(D)+i);
      i+=s.size();
    }else{
      i++;
    }
  }
  cout<<D<<endl;
}