#include<stdio.h>
#include<ctype.h>
int main()
{
    char s1[10],s2[10],s3[10],a,b,c;

    scanf("%s%s%s", s1,s2,s3);

      a=toupper(s1[0]);
      b=toupper(s2[0]);
      c=toupper(s3[0]);
    printf("%c%c%c\n", a,b,c);
    return 0;

}
