#include<iostream>
#include<string>
using namespace std;

int main(){
  string A = "AIDUNYAN", B = "AIZUNYAN";

  int check[26] = {};
  for(int i=0;i<(int)A.size();i++)check[A[i]-'A']++;

  string D,Z;
  cin >> D;
  Z = D;

  int cnt[26] = {};
  for(int i=0;i<(int)D.size();i++){
    cnt[D[i]-'A']++;
    if(8<=i)cnt[D[i-8]-'A']--;

    bool f = true;
    for(int j=0;j<26;j++){
      if(cnt[j] != check[j])f = false;
    }

    if(f){
      for(int j=0;j<8;j++)Z[i-7+j] = B[j];
    }
  }

  cout << Z << endl;
}