// editor1
#include<stdio.h>
#include<ctype.h>
     
     int main(){
         char ch;
         scanf("%c",&ch);
         char res=tolower(ch);
         printf("%d",res);
         return0;
     }