//Bai 8

#include<bits/stdc++.h>
using namespace std;
#define el "\n"
#define ll long long
#define ull unsigned long long
#define se second
#define fi first
#define be begin()
#define en end()
#define Faster cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);

void Run(char x)
{
    if(x >= 'A' && x <='Z')
    {
        cout << "NO";
    }
    else
    {
        cout << char(x - abs('A' - 'a') + 2);
    }
}
int main()
{
    Faster;
    char x; cin >> x;
    Run(x);
    return 0;
}

