#include <iostream.h>
#include <stdio.h>

main()
{
          char a[10],qw[26]="abcdefghijklmnopqrstuvwxyz";;
          int b,c[10];
          int wq[25],as[10],sa[10];
          cin.getline(a,11);
          b=strlen(a);

          for (int i=0; i<26;i++)
               wq[i]=i;
          for(int i=0;i<b;i++)
               for(int y=0;y<26;y++)
                    if(a[i]==qw[y])
                    {
                         as[i]=y;
                         break;
                    }


          sa[0]=as[0]-5;
          for(int i=0;i<b;i++)
          {
               while(as[i]>as[i+1])
                    as[i+1]+=26;
               sa[i+1]=as[i+1]-as[i];
          }
          for(int i=0;i<b;i++)
               for(int y=0;y<26;y++)
                    if(sa[i]==y)
                    {
                         a[i]=qw[y];
                         break;
                    }
        for(int i=0;i<b;i++)
               std::cout<<a[i];
          system("pause");
}