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 <bits/stdc++.h>
using namespace std;

#define REP(i, x) for (int i = 0; i < (int)(x); i++)
#define REPS(i, x) for (int i = 1; i <= (int)(x); i++)

int main(int argc, char *argv[])
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);

    string s;
    cin >> s;
    reverse(s.begin(), s.end());
    cout << s << 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>
//入力された文字列を逆順に出力
using namespace std;

int main(){
  string a;
  cin >>a;
  for(int i =a.size()-1;i >=0;i--){
    putchar(a[i]);
  }
  return 0;
}

C++: #include<stdio.h>



int main(){
	char c[20];

	scanf("%s",&c);
	int i;

	for(i=0;i<20;i++){
		if((int(c[19-i])!=-52)&&(int(c[19-i]!=0))){
			printf("%c",c[19-i]);
		}
	}printf("\n");


	return 0;
}

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

int main()
{
    char str[100];
    int len;
    while(scanf("%s",str))
    {
        len=strlen(str);
        reverse(str, str+len);
        printf("%s\n",str);
    }
    return 0;
}

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

string s;

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

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

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

using namespace std;

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

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

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

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

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

C++: #include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int main(){
char a[40]={0};
int len,b;
cin.getline(a,40);
len = strlen(a);
for(int i=len-1;i>=0;i--){
cout<<a[i];
}
cout<<endl;
return 0;
}

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

int main(){
	std::string str;
	std::cin >> str; // input
	
	str.reverse(); //use reverse function
	std::cout << str << std::endl; // output
	return 0;
}

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

char *reverse(char *s)
{
    int i;
    char tmp;
    for(i=0; i<strlen(s)/2; i++){
        tmp = s[i];
        s[i] = s[strlen(s)-1-i];
        s[strlen(s)-1-i] = tmp;
    }
    return s;
}

int main()
{

    char str[21];

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

    return 0;
}

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

int main(){
	string str,ret ="";

	cin >> str;
	for(int i=str.size()-1;i>=0;i--){
		ret += str[i];
	}

	cout << ret << endl;

    return 0;
}

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

C++: import java.util.Scanner;
import java.lang.StringBuffer;

class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        StringBuffer sb = new StringBuffer(in.nextLine());
        System.out.println(sb.reverse().toString());
    }
}

C++: #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#define N 20
using namespace std;

int main() {
    char str[N];
    cin >> str;
    reverse(str,str+strlen(str));
    printf("%s\n",str);
    return 0;
}

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

long long LCM(long long c,long long d){
	long long res=d;
	if(c%d!=0)res=LCM(d,c%d);
	return res;
}
int main() {
    clock_t cTimeStart, cTimeEnd;
    cTimeStart = clock();           // 現在時刻
    string str;
    cin>>str;
    int len=str.size();
    for(int i=0;i<len;++i){
    	cout<<str[len-i-1];
    }
    cout<<endl;
    cTimeEnd = clock();           // 現在時刻
//    cout<< "処理時間:" <<(cTimeEnd - cTimeStart)/1000 << "[ms]" << endl;

	return 0;
}

C++: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace contest6
{
    class Program
    {
        static void Main(string[] args)
        {
            //空白で分割する
            var line_origin = Console.ReadLine();
            line_origin.Reverse();
            Console.WriteLine(line_origin);
        }
    }
}

C++: #include<iostream>
//#include<algorithm>
//#include<cmath>
#include<string>
//#include<cctype>
//#include <vector>
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;
	int i,j;
	cin >> str;
	string st;
	for( i=str.size() ; i>=0 ; i-- )
		st+=str[i] ;
	cout << st << endl;
}

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

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

int main() {
  std::string input;
  std::getline(std::cin, input);
  std::reverse(input.begin(), input.end());
  std::cout << input + '\n';
  return 0;
}

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

int main(){
  string s;
  cin >> s;
  int k;
  for(k=s.size();k>=0;k--){
    printf("%c",s[k]);
  }
  return 0;
}

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

int main(void) {
    std::string str;
    std::cin >> str;

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

    return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
  long long  a,b,c,A,B;
  while(cin>>a>>b){
    A=a;
    B=b;
    while(b!=0){
      c=a%b;
      a=b;
      b=c;
    }
    cout<<a<<' '<<A/a*B<<endl;
  }
  
}

C++: #include <iostream>
#include <cstring>
using namespace std;
 
int main(){
    char str[21];
    char temp[21];
    int i = 0;
 
    memset(str, 0, sizeof(str));
    memset(temp, 0, sizeof(temp));
 
    while(cin >> str){
        int n = strlen(str);
        for(n--; n!=0; ){
            temp[i++] = str[n--];
        }
        cout << temp << endl;
    }
    return 0;
}

C++: #include <stdio.h>

int len(char *c){
    int i = 0;
    while(*c!='\0'){
        i++;
        c++;
    }
    return i;
}

int main(){
    char s[21];
    char res[21];
    int i;
    scanf("%s",s);
    for(i=0;i<len(s);i++){
        res[i] = s[len(s)-i-1];
    }
    printf("%s\n",res);
    return 0;
}