#include <stdio.h>
#include <string.h>
#include <ctype.h>

int main() {

    char s1[10], s2[12], s3[12];

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

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

    return 0;
}
