#include<stdio.h>
#include<string.h>

int main(){
    char s[101];
    scanf("%s", s);
    int len = strlen(s);
    if(len % 2 != 0){
        printf("Invalid input");
        return 0;
    }
 
    for(int i = 0; i < len; i += 2){
        int ascii = (str[i] - '0') * 10 + (str[i + 1] -'0' );
        
        if((ascii >= 65 && ascii <= 90) || ( ascii >= 97 && ascii <= 122){
            printf("%c", ascii);
        }
        else{
            printf("Invalid Input");
        }
    }
    return 0;
}