#include <stdio.h>

int main() { int number;

scanf("%d", &number);

char uppercase = 'A' + number - 1;
char lowercase = 'a' + number - 1;

printf("%c", uppercase);
printf("%c", lowercase);

return 0;

}