Go: package main

import "fmt"

func main() {
	var str string
	var result string

	fmt.Scanf("%s", &str)

	for i := len(str) - 1; i >= 0; i-- {
		result += string(str[i])
	}

	fmt.Println(result)
}

C++: #include <iostream>
#include <string>

using namespace std;

int main(){
    string s;
    cin >> s;
    reverse(s.begin(),s.end());
    cout << s << endl;
}

C++: #include <bits/stdc++.h>

using namespace std;

int main()
{
    char name[25];
    gets(name);
    int len = strlen(name);

    for(int i= len-1; i>=0; i--)
        cout << name[i] ;
    cout << endl;
    return 0;
}

C++: #include <iostream>
#include <algorithm>

int main(){
  std::string s;
  std::cin>>s;
  std::reverse(s.begin(),s.end());
  std::cout<<s<<std::endl;
  return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main(){
string str;
cin>>str;
reverse(str.begin(),str.end());
cout<<str<<endl;

return 0;
}

C++: #include <stdio.h>

int main(){
	
	char a[25],b[25]={'0'};
	int s,t;
	
	scanf("%s",&a);
	
	for(s=0;a[s]!='\0';s++)
	
	for(t=0;a[t]!='\0';t++){
		
		b[s-t]=a[t];
		
	}
	
	printf("%s",b);
	
	return 0;
}

C++: #include<iostream>
#include<string.h>
using namespace std;

int main()
{
	char s[21];
	cin.getline(s, 21, '\n');
	int l = strlen(s);
	for (int i = l - 1; i >= 0; i--)
		cout << s[i];
	cout << endl;
	return 0;
}

C++: #define _USE_MATH_DEFINES
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <sstream>
#include <map>
#include <set>
#include <cstdio>
using namespace std;

#define REP(i,a,b) for(i=a;i<b;i++)
#define rep(i,n) REP(i,0,n)

typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
/* ここからが本編 */
/* */
/* 入力開始！ */
/* 入力終了！ */
int main(void)
{
   int i,j,k,l;
   int n;
   char s[25];
   cin >> s;
   for(i=strlen(s)-1;i>-1;i--) {
      cout << s[i];
   }
   cout << endl;

   return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
	char str1[21] = "", str2[21] = "";
	cin >> str1;
	int a = 0;
	for(int i = 0;i < 21;i++){
		if(str1[20 - i] != '\0'){
			str2[a] = str1[20 - i];
			a++;
		}
	}
	cout << str2;
    return 0;
}

C++: #include<iostream>
using namespace std;
int main()
{
    int i,j;
    char str[20];
    cin>>str;

    for(i=0;;i++)
    {
        if(str[i]=='\0')
        break;
    }

    for(j=i-1;j>=0;j--)
    {

       cout<<str[j];
    }
    return 0;
}

C++: #include <bits/stdc++.h>

using namespace std;

#define Vi vector<int>
#define FOR(i,s,e) for (int i=s; i<e; i++)
#define ITER(v) v.begin(), v.end()

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);

    string str;

    cin >> str;
    reverse(ITER(str));
    cout << str << endl;

    return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>

#define ALL(a) a.begin(),a.end()

using namespace std;

int main()
{
  string s;
  cin >> s;
  reverse(ALL(s));
  cout << s << endl;;

  return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
	string s;
	cin>>s;
	reverse(s.begin(),s.end());
	cout<<s<<endl;
	return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;

int main(){
	string str;
	cin >> str;
	for(int i = str.size(); i >= 0; i--){
		cout << str[i];
	}
	cout << endl;
}

C++: #include<iostream>
#include<cstdio>
#include<string>
#include<stdio.h>
//入力された文字列を逆順に出力
using namespace std;

int main(){
  char a[20];
  scanf("%s",a);
  for(int i =strlen(a)-1;i >=0;i--){
    putchar(a[i]);
  }
  return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;

int main()
{
    string str;

    cin >> str;

    for( int i = str.size() - 1; i >= 0; i-- )  //格納順と逆に出力
        cout << str[i];
    
    cout << endl;

    return 0;
}

C++: #include <cstdio>
#include <cstring>

using namespace std;

int main()
{
	char str[21];

	fgets( str, sizeof( str ) - 1, stdin );

	str[ strlen( str ) ] = '\0';
	
	for ( int i = strlen( str ) - 2; 0 <= i; i-- )
	{
		putchar( str[i] );
	}

	return 0;
}

C++: #include<iostream>
#include<string>

using namespace std;
int main(){
string s;
cin>>s;
reverse(s.begin(),s.end());
cout<<s<<endl;
return 0;
}

C++: #include <iostream>
#include<string>
using namespace std;


int main(){
	string s;
	cin>>s;
	for(int i=s.size();i--;){
		cout<<s[i];
	}cout<<endl;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
#define REP(i,n) for(int i=0;i<n;i++)
using namespace std;

int main() {
    string s;
    cin >> s;
    reverse(s.begin(),s.end());
    cout << s << '\n';    
}

C++: //http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0006
#include <iostream>
#include <string>
using namespace std;
int main() {
	cin.tie(0); ios::sync_with_stdio(false);
	string str; cin >> str;
	for (auto it = str.rbegin(); it != str.rend(); it++) {
		cout << *it;
	}
	cout << endl;
}

C++: #include <iostream>
#include <string>
using namespace std;

int main()
{
	string x;
	cin >> x;
	for(int i=x.length()-1;i>=0;i--)
		cout << x[i];
}

C++: #include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
	string s;
	cin >> s;
	cout << string(s.rbegin(),s.rend()) << endl;
	return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
    string str;
    cin >> str;

    reverse(str.begin(), str.end());
    cout << str << endl;
}

C++: #include <iostream>
#include <algorithm>
#include <stdlib.h>
#include <iomanip>
#include <string>
#include <cmath>
#define PI 3.14159265359
using namespace std;

int main()
{
	char tmpstr[20] = { NULL };

	cin >> tmpstr;
	int len = 0;
	while (tmpstr[len] != NULL) {
		++len;
	}

	for (int i = len - 1; i >= 0; --i) {
		cout << tmpstr[i];
	}
	cout << endl;

	return 0;
}

C++: #include<cstdio>
#include<iostream>
#include<algorithm>
#include<vector>
#include<set>
#include<string>
#include<functional>
#include<queue>
#include<stack>
#include<math.h>
#define INF 999999

using namespace std;

typedef long long ll;

ll gcd(ll a, ll b)
{
	if (b == 0)return a;
	else return gcd(b, a%b);
}

int main()
{
	string str;
	cin >> str;

	for (int i = str.length() - 1; i >= 0; i--) {
		cout << str[i];
	}
	cout << endl;

	return 0;
}

C++: #include <iostream>
#include<string>
using namespace std;
 
 
int main(){
    string s;
    cin>>s;
    for(int i=s.size();i--;){
        cout<<s[i];
    }cout<<endl;
}

C++: 
#include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <cmath>
#include <utility>
    
#define ll (long long)
#define REP(i,n) for(int i = 0;i<(int)n;i++)
#define FOR(i,a,b) for(int i = (a);i < (b);i++)
#define RFOR(i,a,b) for(int i = (a);i>(b);i--)


using namespace std;


int main(void)
{
    char str[30] = {};
    char temp;
    int size = 0;
    gets(str);
    while(*(str+size))
        size++;
    RFOR(i, size-1,-1)
    cout << *(str+i);
    cout << endl;
    return 0;
    

    }

C++: #include<iostream>
#include<string>
using namespace std;
int main(){
  char str[21];
  cin >> str;
  for(int i = strlen(str);i>=0;i--){
    cout << str[i];
  }
  cout << endl;
}

C++: #include <iostream>

int main() {
	using namespace std;

	string str;
	cin >> str;
	for (string::reverse_iterator rit = str.rbegin(); rit != str.rend(); ++rit) {
		cout << *rit;
	}
	cout << endl;

	return 0;
}

C++: #include<stdio.h>
  int main(void){
   char n[100]={0};
      int i=20;
      scanf("%s",n);
      for(i;i<n;i--){
        if(n[i]!=0)printf("%c",n[i]);
      }
  return 0;
  }

C++: #include <iostream>
#include <string>
using namespace std;
int main(void)
{
    string s;
    cin >> s;
    int n = s.length();
    string r = "";
    for (int i = 0; i < n + 1; i++)
    {
        r += s[n - i];
    }
    cout << r << endl;
}

C++: #include <iostream>
#include <string>
#include <algorithm> 
using namespace std;

int main(){
  string s;
  cin >> s;
  reverse(s.begin(),s.end());
  cout << s << endl;
  return 0;
}