#include <iostream>

using namespace std;

int main()
{
    char x ;
    cin>>x;
    string y ;
    y=x+1;

    if (x!='z')
    {
        cout<<y <<endl;
        cout<< x << " is followed by " << y ;
    }

        else if (x=='z')
        {
            cout<<" this is the last letter in alphabet ";
        }




    return 0;
}
