Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strings"
)

var sc = bufio.NewScanner(os.Stdin)

func read() string {
	sc.Scan()
	return sc.Text()
}

func main() {
	sc.Split(bufio.ScanLines)
	s := read()
	rv := ""
	cols := strings.Split(s, "")
	for i := 0; i < len(cols); i++ {
		rv += cols[len(cols)-1-i]
	}
	fmt.Println(rv)
}

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

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

C++: #include <iostream>
#include <iomanip>
#include <cmath>
#include <string>
#include <cstring>
#include <utility>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#define debug(x) cerr << #x << ':' << x << endl
#define rep(i,n) for(int i=0;i<(int)n;++i)
#define ALL(c) (c).begin(), (c).end()
using namespace std;
typedef long long ll;

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

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

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

C++: #include <iostream>
#include <string>
using namespace std;
int main() {
  string str;
  while (cin >> str) {
    cout << str.reverse() << endl;
  }
}

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

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

C++: #include <iostream>
#include <vector>
#include <sstream>
#include <string>
#include <math.h>
#include <algorithm>

using namespace std;

int main()
{

string s;
cin>>s;
reverse(s.begin(),s.end());
cout<<s;

}

C++:   #include <iostream>
#include <string>
using namespace std;
int main(){
	string str;
	int i,j;
	cin >> str;
	string st="";
	for( i=str.size()-1; i>=0 ; i-- )
		st+=str[i] ;
	cout << st << endl;
}

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

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

	return 0;
}

C++: #include<bits/stdc++.h>
#define all(v) v.begin(),v.end()
using namespace std;
int main(){
  string a;
  cin>>a;
  reverse(all(a));
  cout<<a<<endl;
}

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

int main()
{
     int i,x,y;
     char a[25], b[25];
     gets(a);
     y=strlen(a)-1;
     x=y;
     for(i=0;i<=y;i++)
     {
          b[i]=a[x];
          x--;
     }
     b[i]='\0';
     puts(b);
     return 0;
}

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

int main(){
    char str[25];
    cin>>str;
    for(long i=strlen(str); i>=0; i--){
        cout<<str[i];}
    return 0;
}

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

int main()
{
  int str_size=0;
  char temp[20];
  char str[20];
  cin>>str;

  str_size=strlen(str);
  strcpy(temp, str);
  
  for(int i=0;i<str_size;i++)
    str[i]=temp[str_size-1-i];

  cout<<str<<endl;
  
  return 0;
}

C++: #include<iostream>

using namespace std;

int main(){

   string str;

   cin>>str;

   reverse(str.begin(),str.end());

   cout<<str<<endl;

   return 0;

}

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

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<iostream>
#include<cstring>

using namespace std;

void reverseChar(char* str);

char str[50],rstr[50];
int i;

int main()
{
    cin>>str;
    reverseChar(str);
    cout<<str << endl;
    return 0;
}

void reverseChar(char* str)
{
    for(i=0;i<strlen(str)/2;i++)
    {
        char temp= str[i];
        str[i]=str[strlen(str)-i-1];
        str[strlen(str)-i-1]=temp;
    }
}

C++: #include <stdio.h>
#include <string.h>
int main(){
char str[20];
char c;
int i = 0;
memset(str, '\n', 20);
while((c = getchar()) != '\n'){
str[i++] = c;
}
while(i--){
printf("%c", str[i]);
}
printf("\n");
return 0;
}

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

int main() {
	string str,a;
	a = 0
	cin >> str;
	for(i =str.size()-1;i>=0;i--){
		a += str[i];


	}
	cout << a << endl;
	
	return 0;
}

C++: #include <iostream>

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

    char str[21];
    std::cin >> str;

    int cnt = 0;
    while (str[++cnt]);

    while (cnt-- > 0)
        std::cout << str[cnt];
    std::cout << std::endl;
}

C++: #include <map>
#include <string>
#include <iostream>
#include<vector>
#include <set>
#include<math.h>
#include<algorithm>

using namespace std;

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

C++: #include <iostream>

using namespace std;
int main(){
string str;
cin>>str;

for(int i=str.size();i--;){
    cout<<str[i];
}

}

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

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

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

#define MAX 256

int main(void){
	int i;
	int l = 0;
	char str[21];
	char str1[21];
	cin >> str;
	for (i = 0; str[i] != '\0'; i++){
	}
	for (int k = i-1; k>=0;l++,k--){
		cout << str[k];
	}
	cout << endl;
	
	return 0;
}

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


using namespace std;

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

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

int main(){

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

for(int i=0;i<strlen(str)+1;i++)
	putchar(str[strlen(str)-i]);

putchar('\n');

return 0;		
}

C++: #include <iostream>

using namespace std;

int main()
{
	string str;

	cin >> str;

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

	cout << endl;

	return (0);
}

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

int main(){
  string s,t;
  cin >> s;
  int i=0;
  int k;
  while(s[i]!='\n'){
    i++;
    }
  for(k=i;k>=0;k--){
    printf("%c",s[k]);
  }
  return 0;
}

C++: #include<stdio.h>

int main(){
  char string[22];
  char revString[22];
  int i,s;

  fgets(string,20,stdin);
  for(i = 21;string[i] != '\n';i--){
    if(i == 0){
      break;
    }
  }
  i--;
  for(s = 0;i >= 0;i--){
    revString[s] = string[i];
    s++;
  }
  revString[s] = '\0';

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

  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 <iostream>
#include <algorithm>
#include <string>

#define SIZE 21

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

  char input[SIZE];
  std::cin.getline(input, sizeof(input));
  std::string str = std::string(input);

  std::reverse(str.begin(), str.end());

  std::cout << str << std::endl;

  return 0;
}

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

int main(void)
{
	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(void){
  string str;
  cin>>str;
  for(int i = str.size()-1 ; i >= 0 ;  i -- )
    cout<<str[i];
  cout<<endl;
}

C++: #include<iostream>

using namespace std;

char str[20];

int main()
{
	cin>>str;
	for(int i=0;i<20;++i)
	{
		if(str[19-i]!=0)
		{
			printf("%c",str[19-i]);
		}
	}

}

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