// editor1
#include<iostream>
using namespace std;
int main()
{
    string n="j";
    cin>>n;
    if(toupper(n))
    {
        cout<<n<<endl;
       
    }
    else
    {
        cout<<"Invalid input";
    }
}