#include<stdio.h>
int main()
{
	char c1, c2;
	scanf("%c", &c1);
	c2 = c1 + 32;
	printf("%c\n", c2);
	printf("%d\n", c2);
	return 0;
}