Go: package main
import (
	"fmt"
	"os"
	"bufio"
)

var sc = bufio.NewScanner(os.Stdin)

func main(){
	sc.Scan()
	str := sc.Text()
	// rev_str := make([]string, len(str))
	defer fmt.Println()
	for _, v := range []rune(str){
		defer fmt.Print(string(v))
	}
}

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 <cstring>

using namespace std;

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

C++: #include <iostream>
#include <queue>
#include <vector>
#include <math.h>
#include <algorithm>
#include <iomanip>
#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>
using namespace std; 

int main() {
	char str[21];
	cin >> str;
	int length = strlen(str);
	int x;
	for (int i = 0; i < length; i++){
		x = length - i - 1;
		cout <<str[x];
	}
	cout << "\n";

	return 0;
}

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

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

int main()
{
	char Str[21];
	int StrLen;

	cin >> Str;

	StrLen = strlen( Str );

	while( 1 ){

		cout << Str[StrLen-1] << endl;

		StrLen--;

		if( StrLen == 0 ) break;
	}

	return 0;
}

C++: #include <cstdio>
#include <algorithm>
int main( int argc, char *argv[] ) {
	using namespace std;
	char str[20];
	fscanf(stdin, "%s", str);
	reverse(str, str+sizeof(str)/sizeof(char));
	printf("%s\n", str);
	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-1]);
}
printf("\n");
return 0;
}

C++: #include<iostream>
#include<stdio.h>
int main(){
	
	int i;
	char s[21];
	

	scanf("%s",s);
		
	for(i=0;s[i]!='\0';i++);
	if(i>0) i--;
	for(;i>=0;i--) std::cout<<s[i];

	std::cout<<std::endl;
		





	
	
	
	
	

	return 0;
}

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

//østrðtÉµÄstrÉãü·éÖ
void reverseString(char *str){
	char *hoge;
	int length;

	hoge = (char *)malloc( sizeof(char) * strlen(str) );
	
	length = strlen(str);
	for(int i=0 ; i<length ; i++){
		hoge[length-i-1] = str[i];
	}
	for(int i=0 ; i<length ; i++){
		str[i] = hoge[i];
	}
	free(hoge);
} 
 
int main(){
	char str[80];

	while (scanf("%s", str) != EOF) {
		reverseString(str);
		printf("%s\n", str);
	}

	return 0;
}

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

int main(){
    int cut=1;
    char str[21]={0};
    for(int i=0;i<20;i++){
        scanf("%c",&str[i]);
        if(str[i]=='\n')break;
        if(str[i]==' '){
            str[i]='\0';
            i-=1;
            }
        cut++;
    }
    for(int j=cut;j>-1;--j){
        printf("%c",str[j]);
    }
        cout <<""<<endl;
    return 0;
}

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

int main(void){
    int i;
    string str;
    cin >> str;
    for(i = 0; i < str.size(); i++)cout<<str[str.size()-i-1];
    cout << "\n";
}

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

int main(){
	char c[20];
	int cnt=0;
	do{
		scanf("%c",&c[cnt]);
		cnt++;
	}while(c[cnt]);
	for(int i=cnt-1;i>=0;--i){
		cout<<c[i];
	}
	return 0;
}

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

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

  return 0;
}

C++: 

 #include<iostream>
#include<string>
#include<algorithm>
#include<vector>

using namespace std;

//Nayeem Shahriar Joy ,Applied Physics And Electronic Engineering , University of Rajshahi.

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(){
	int num,i;
	string str,tmp;
	cin >> str;
	num = str.length();
	tmp = str;
	for(i = 0; i < num ; i++)
		str[i] = tmp[num-i-1];
	cout << str << endl;
}

C++: #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }

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

C++: #include<iostream>
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 s;
  cin >>s;
  for(int i=s.size()-1; i>=0; i--)
    cout <<s[i];
  cout <<endl;
  return 0;
}

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

int main(void){

    std::string str;
    std::getline(std::cin,str);
    str.reverse(str.begin(),str.end());
    std::cout<<str<<std::endl;
    return 0;
}

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

int main(){
	char str[25];
	
	for(int i = 0; i < 25; i++) str[i] = 0;
	
	scanf("%s", str);
	
	int p = 25;
	while(str[--p] == 0);
	while(p >= 0){
		printf("%c", str[p--]);
	}
	
	return 0;
}

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

int main() {
  std::string input;
  getline(std::cin, input);

  for(unsigned int cnt = input.length(); cnt > 0; --cnt) {
    std::cout << input[cnt -1];
  }
  std::cout << std::endl;
}

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

using namespace std;

int main()
{
	char ar[25];
	gets(ar);
	reverse(ar,ar + strlen(ar));
	puts(ar);	 
	return 0;
}

C++: #include<stdio.h>
#include<string.h>
#include<stack>
#include<algorithm>
using namespace std;
void out (   )
{
    char c;
    scanf("%c",&c);
    if (c=='\n')
        return ;
    out();
    printf("%c",c);
}
int main()
{
    out();
    return 0;
}

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

int main(void)
{
char str[256];
char rev[256];

scanf("%s", str);

for (int i = 0; str[i] != '\0'; i++){
rev[i] = str[strlen(str) - 1 - i];
}
rev[strlen(str)] = '\0';

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

return (0);
}

C++: #include<stdio.h>
#include<string.h>
int main(){
  int n,i;
  char s1[21];
  scanf("%s",s1);
  int len=strlen(s1);
  for(i=len;i>=0;i--){
    printf("%c",s1[i]);
  }
  printf("\n");
  return(0);
}

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

int main(){
  std::string str;

  std::cin >> str;

  int n = str.size();
  for(int j=n-1;j>=0;j--){
    std::cout << str[j];
  }
  std::cout << std::endl;
}

C++: #include <stdio.h>
#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] );
    return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
    char str[100];
    int i;
    int count=0;
    
    scanf("%s",str);
    
    for(i=0;str[i]!='\0';i++){
        count++;
    }
    for(i=count-1;i>=0;i--){
        printf("%c",str[i]);
    }
    printf("\n");

    return 0;
}

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