#include <stdio.h>
#include <string.h>

void toLowerCase(char *s)
{
	int length;
	
	int i;
	
	length = strlen(s);
	
	for (i=0;i<length;i++)
	{
		printf("%d ",(s[i]-'A'));
		if ((s[i]-'A')>=0 && (s[i]-'A')<=25)
		{
			s[i] = 'a' + (s[i]-'A'); 
		}
	}
}

int main()
{
	char word[200];
	
	printf("Enter a word :");
	scanf("%s",word);
	
	//gets(word);

	printf("You have entered : %s\n",word);
	
	toLowerCase(word);
	
	printf("In lower case : %s\n",word);
}

