Go: package main

import (
	"fmt"
)

func main() {
	var str string
	fmt.Scanf("%s", &str)
	fmt.Printf("%s\n", strReverse(str))
}

func strReverse(str string) string {
	data := []rune(str)
	result := []rune{}

	for i := len(data) - 1; i >= 0; i-- {
		result = append(result, data[i])
	}

	return string(result)
}

C++: #include <cstdio>
#include <cstring>
#define LOOP(index,times) for(int index=0;index<times;index++)
using namespace std;

int main(){

char str[21];
scanf("%s",str);

LOOP(i,strlen(str)+1)
	printf("%c",str[strlen(str)-i]);
printf("\n");

return 0;		
}

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

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

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

int main()
{
	string str;

	cin>>str;

	for(unsigned int i=0;i<str.size();i++){
		cout<<str.at(str.size()-(i+1));
	}
}

C++: //0006
#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 <algorithm>

using namespace std;

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

C++: #include<cstdio>
#include<ctype.h>
#include<iostream>

using namespace std;

int main(){
    int temp;
    int ans=0;
    char a[1000];
    for(int i=0;i<1000;i++){
        scanf("%c",&a[i]);
        if(a[i]=='\n'){
            temp=i-1;
            break;
        }
    }
    for(int i=temp;i>=0;i--){
        printf("%c",a[i]);
    }
    printf("\n");
    return 0;
}

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

int main(){

int i;
char str[22];

scanf("%s",str);

for(i=strlen(str);i>=0;i++){
printf("%c",str[i]);
}

return 0;
}

C++: #include <string.h>

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

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

int main()
{
	string str;
	cin >> str;
	for (auto i = str.rbegin(); i < str.rend(); i++)
	{
		cout << *i;
	}
	cout << endl;

	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;
}

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

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

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

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

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

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

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

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

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

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

int main()
{
        char str1[22],str2[22];
        int l;

        scanf("%s",str1);

        l = strlen(str1);

        for(int i=0;i<l;i++){
                str2[i] = str1[l-i-1];
        }
        str2[l] = '\0';

        printf("%s",str2);

        return 0;
}

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

using namespace std;

int main() {
	string str;

	cin >> str;

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

	cout << endl;

	return 0;
}

C++: #include <cstdio>

int main(){
  char str[20], cstr[20];
  int arr;
  int i = 0;

  scanf("%s", str);

  while (str[i] != '\0'){
    i++;
  }
  arr = i - 1;
  for (int j = 0; j < i; j++){
    cstr[j] = str[arr];
    arr--;
  }
  printf("%s\n", cstr);
  return 0;
}

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

int main() {
	ios :: sync_with_stdio(false);
	string s; cin >> s;
	reverse(s.begin(), s.end());
	cout << s << '\n';
	return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;
int main() {
  string s;
  while(getline(cin, s)) {
    // reverse(s.begin(), s.end());
    vector<int> v;
    v.push_back(3);
    std::reverse(v.begin(), v.end());
    cout << s << endl;
  }
  return 0;
}

C++: #include<iostream>

using namespace std;

int main() {
	string a= "";
	cin >> a;

	for(int j = (int)a.size()-1;j>=0;j--){
		cout << a.substr(j, 1);
	}
	cout << endl;


	return 0;
}

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


int main()
{
	char a[20];
	cin >> a;
	for (int i = strlen(a)-1;i>=0;i--){
		cout << a[i];
	}
	cout << endl;
    return 0;
}

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

int main(){
	stack<char> s;
	char c;
	while( cin.get(c)){
		if( c == '\n')
			break;
		s.push(c);
	}
	while( !s.empty()){
		cout << s.top();
		s.pop();
	}
	cout << "\n";
	return 0;
}

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

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

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

//????????????????????§??????
int main()
{
	string str;
	cin >> str;

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

	return 0;
}

C++: #include <iostream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>

using namespace std;

int gcd( int, int );

int main()
{
	char str[21];

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

	return 0;
}

C++: #include <iostream>
#include<algorithm>
#include<cmath>
#include <string>
#include <vector>
typedef unsigned long long ULL;

 int main (){
	 std::string str;

	 std::cin >> str;

	 for (int i = 0; i < str.size(); ++i) {
		 std::cout << str[str.size() - 1 - i];
	 }

	 return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <time.h>
#include <math.h>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
#include <iterator>
#include <sstream>
#include <string>
#include <bitset>
using namespace std;
#define FOR(I,F,N) for(int I = F; I < (int)(N); I++)
#define rep(i, n) FOR(i, 0, n)
#define FIN(V) cout<<V<<endl
#define pb push_back
#define INF (1 << 30)
typedef pair<int, int> P;
typedef long long ll;
typedef priority_queue<int> pq;
int StrToInt(string);
string IntToStr(int);
int dx[4] = {1, -1, 0, 0};
int dy[4] = {0, 0, 1, -1};

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

	return 0;
}



int StrToInt(string s){
	stringstream ss;
	ss << s;
	int val;
	ss >> val;
	return val;
}
string IntToStr(int i){
	stringstream ss;
	ss << i;
	return ss.str();
}

C++: #include <bits/stdc++.h>
using namespace std;
int main(void){
    string str;
    cin >> str;
    for (int i = str.size()-1;i>=0;i--) {
        cout << str.at(i);
    }
    cout << endl;
}

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

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>
#include<algorithm>
#include<iterator>

int main(){
	std::string str;

	std::cin >> str;

	std::reverse_copy(str.begin(), str.end(),
		std::ostream_iterator<char>(std::cout,""));
  	std::cout << std::endl;
  	return 0;
}