#include<stdio.h>

#include<string.h>

int main()

{

    char s[100];

    scanf("%[^\n]s",s);

    int l=strlen(s);

    for(int i=l-1; i>=0; i--)

    {

        printf("%c", s[i]);

    }

    return 0;

}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: