Go: package main

import (
  "fmt"
)

func main() {
  var a string
  fmt.Scan(&a)
  for i:= len(a) -1; i>=0; i-- {
    fmt.Print(string(a[i]))
  }
  fmt.Println()
}

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

int main(){
string a;
int c;
string d[20];
c=0;
cin >> a;
while(string b(a,c,0)){
d[c]=b;
c=c+1;}
int e;
e=c-1;
while(e>=0){
cout << d[e];
e=e-1;}


}

C++: #include<cstdio>
#include<cstring>
int main(void){
	char a[21];
	for (int i = 0; i < 21; i++)a[i] = 0;
	int c;
	scanf("%s", a);
	c = strlen(a);
	for (int i = 1; i <= c; i++)printf("%c", a[c - i]);
	printf("\n");
	return 0;
}

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

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

C++: #include<iostream>
#include<math.h>
#include<algorithm>
#include<string.h>
using namespace std;
int main(){
    string x;
    int i;
    cin>>x;
    for(i=x.size();i>=0;i--){
        cout<<x[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>=0;i--){
		cout << s[i-1];
	}
	cout <<endl;
	return 0;
}

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

using namespace std;
int main()
{
	string s;
	cin >> s;
	for (int i = 1; i < s.length()+1; i++){
		cout << s[s.length() - i];
	}
	cout << endl;
	return 0;
}

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

int main(){
	char w[20];
	char q[20];
	cin >> w;

	for(int i=0; i<strlen(w); i++){
		q[i] = w[strlen(w)-i-1];
	}

	cout << q << endl;
	return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;
string s;
int main(){
    cin >> s;
    for(string::reverse_iterator it = s.rbegin(); it != s.rend(); it++) cout<<*it;
    cout<< endl;
    return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;

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

}

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

int main(){
	std::string str;
	while(cin >> str) {
		for(int i = (int)str.length() - 1; i >= 0; i--) {
			cout << str[i];
		}
		cout << endl;
	}
	return 0;
}

C++: #include<iostream>
using namespace std;
	
int main()
{
	char change[19];
	cout<<"??????????????\????????????????????????\n";
	cin>>change[19];
	for(int i=19;i>=0;i--){
	cout<<"change[i];
	}
	return 0;
}

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

/* char* reverse_str(char *a)
{
	int data_size = sizeof(*a) / sizeof(a[0])- 1;
	for(int i=0;i<=data_size;i++){
		char temp1 = a[i];
		a[i] = a[data_size-i];
		a[data_size-i] = temp1;
	}
	return a;
} */

int main()
{
	char *a;
	/* char str[512];
	cin.getline(str,512); */
	string str;
	cin >> str;
	int data_size = str.length() - 1;
	cout << "data_size=" << data_size << endl;
	for(int i=0;i<=data_size;i++)
		cout << str[data_size - i];
	// cout << endl;
	return 0;
}

C++: #include<iostream>
using namespace std;
void solver() {
    string str;
    cin>>str;
    reverse(str.begin(),str.end());
    cout<<str<<endl;
}

int main() {
    solver();
    return 0;
}

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

int main()
{
    std::string str;
    std::cin >> str;
    
    for(u_int i = 0; i < str.size(); ++i)
        std::cout << str.at(str.size() - i - 1);
    std::cout << std::endl;
    
    return 0;
}

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

using namespace std;

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

C++: #include<stdio.h>
int main(){
int i;
char str[21];
for(i=0;;i++){
str[i]=getchar();
if(str[i]=='\n')
	break;
}
for(;i>0;i--){
printf("%c",str[i-1]);
}
printf("\n");
return 0;
}

C++: #include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<sstream>
#include<iomanip>
#include<cstdlib>
#include<cmath>
#include<cstdio>
using namespace std;

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

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

int main(){
	const int max = 20; 
	char str[max + 1];
	char c;
	int count = 0;
	while(cin.get(c)){
		str[count] = c;
		count++;
	}
	for(int i = 1; i <= count; i++)
		cout << str[count - i];
	cout << endl;
	return 0;
}

C++: #include <stdio.h>

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

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

//????????????????????§??????
int main()
{
	string str,str2="";
	cin >> str;

	for(int i = str.length() - 1; i >= 0; i--)
		str2 += str[i];
	str2 += "\0";
	cout << str2; 

	return 0;
}

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

int main(){
	string s;
	cin>>s;
	for(int i=s.length();i>0;i--) cout<<s.at(i-1);
	cout<<'\n';
	return 0;
}

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

C++: //
//  main.cpp
//  CppTest
//
//  Created by Ryu on 2017/02/08.
//  Copyright ?? 2017??´ Ryu. All rights reserved.
//

#include <iostream>
#include <algorithm>
#include <cstdio>
#include <cmath>
using namespace std;

int main(int argc, const char * argv[]) {
    // insert code here...
    cin.tie(0);
    ios::sync_with_stdio(false);
    
    string str;
    //int n = 0;
    cin >> str;
    
    
    for(int i = (int)str.size() - 1; i >= 0; i--){
        printf("%c", str[i]);
    }
    printf("\n");
    
    return 0;
}

C++: #include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
 
int main() {
    char a[25], i;
    scanf("%s", a);
    for(i=strlen(a)-1;i>=0;i--){
       printf("%c", a[i]);                         
                             
    }
    printf("\n");
    
    return 0;
}

C++: #include<stdio.h>

int main(void){

	char str[100]={0},temp;

	for(int i=0; i<20; i++){
		
		scanf("%c",&str[i]);
		
		if(str[i] == '\n'){
			str[i]='\n';
			break;
		}
	
	}
		
	for(int i=19; i>=0; i--){
			printf("%c",str[i]);
	}

}

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

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

C++: #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>

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

int main(){
  int i, j;
  char str[21], rev[21];

  scanf("%s", str);
  i = 0; j = 0;
  while(str[i] != '\0') i++;
  i--;
  while(i >= 0){
    rev[j] = str[i];
    i--; j++;
  }
  rev[j] = '\0';

  printf("%s\n", rev);

  return 0;
}

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

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

C++: #include <iostream>
#include <string>
using namespace std;
int main()
{
	string str;

	getline(cin , str);
		for(int i = str.size() - 1 ; i >= 0; i--)
			cout << str[i];
cout << endl ;
}

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

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

	return 0;
}

C++: #include<stdio.h>
#include <string.h>
int main()
{

char str[21]={};
char ch;
int n;
scanf("%s",str);
n = strlen(str);
for(int i=0;i<n;i++)
{
printf("%c",str[n-i-1]);
}
printf("\n");
return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;

int main(){
    char str[100];
    scanf("%s",str);
    reverse(str,str+strlen(str));

    printf("%s\n",str);

    return 0;
}