/* WAP TO REVERSE THE STRING */
#include<stdio.h>
#define MAX 5000
int main()
{
	int i=0,j;
	char no[MAX];
	printf("enter the string\n");
	scanf("%[^\n]s", &no);
	while((no[i]))
	{
		i++;
	}

	for(i= i-1;i>=0;i--)
	{
		printf("%c",no[i]);
	}

	printf("\n");
	return 0;

}


