#include<stdio.h>
#include<string.h>
#define max 25
// int top=-1;
// char stack[max][max];

// char push(char *ch){
//     stack[++top]=str;
// }
// char pop(){
//     stack[top--];
// }

// char isoperand(char *ch){
//     return ch=='('ch=='+'||ch=='-'||ch=='*'||ch=='/'||ch==")";
// }

// char isoperator(char ch){
//     return isalnum(ch)||ch=='+'||ch=='-'||ch=='*'||ch=='/';
// }

// void fun(char *str){
//     top=-1;
//     int len=strlen(str),i;
    
//     for(int i=len-1;i<=0;i++){
//         char ch[max]=str[i];
//           if(!isalnum(ch)){
//             char temp[2];
//             temp[0]=ch;
//             temp[1]='\0';
//             push(temp);
//         }
//         if(!isoperator(ch)){
//             char op1[max],op2[max],final[max];
//             strcpy(op1,push());
//             strcpy(op2,push());
//             strcpy(final,op1);
//             strcpy(final,op2);
//             int l=strlen(final);
//             char temp[2];
//             temp[0]=final;
//             temp[1]='\0';
//             push(temp);
//         }
        
    
//     }
//     printf("%s",stack[++top]);
// }


int main(){
    char str[max];
    scanf("%[^\n]c",str);
    getchar();
    printf("%c",str);
    // fun(str);
}