Go: package main

import (
	"fmt"
)

func main() {
	var str string
	rts := []string{}

	fmt.Scan(&str)
	for _, r := range str {
		rts = append([]string{string(r)}, rts...)
	}

	for _, v := range rts {
		fmt.Print(v)
	}
	fmt.Println()
}

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

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

int main(){
	std::string st;
	
	std::cin >> st;
	
	while(!(st.empty())){
		std::cout << st.back();
		st.pop_back();
	}
	
	return 0;
}

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

int main(){
    int num;
	char str[NUM];

	cin >> str;

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

	}

	return 0;
}

C++: #include <iostream>

using namespace std;
string reverse(string src)
{
  int size = src.size();
  string dest = string(size, '_');
  for (int i = 0; i < size; i++) {
    dest[size-i-1] = src[i];
  }
  return dest;
}

int main(int argc, char const* argv[])
{
  string input;
  cin >> input;
  cout << reverse(input) << endl;
  return 0;
}

C++: #include <iostream>
#include <algorithm>
#include <cstdio>
#include <map>
#include <string>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)

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

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

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

	return 0;
}

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

using namespace std;

#define loop(i,a,b) for(int i = a; i < b ; i ++)
#define rep(i,a) loop(i,0,a)

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

}

C++: #include <iostream>

using namespace std;

int main() {
	string str;
	cin >> str;

	int i = str.length() - 1;

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

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

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

return 0;
}

C++: #include<stdio.h>
#include<iostream>
#include<math.h>
#include<algorithm>
#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<cstring>
using namespace std;
int main(){
  char str[21];
  cin >> str;
  for(int i = strlen(str);i>=0;i--){
    cout << str[i];
  }
  cout << endl;
}

C++: #include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  string str;
  cin>>str;
  reverse(str.begin(),str.end());
  cout<<str<<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 <cstring>
using namespace std;
 
int main(){
	char str[20];

	cin >> str;
	int n = strlen(str)-1;

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

	cout << endl;

	return 0;
}

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

int main()
{
	char s[21];
	cin.getline(s, 21, '\n');
	int l = strlen(s);
	for (int i = l - 1; i >= 0; i--)
		cout << s[i];
	cout << endl;
	return 0;
}

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

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

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

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

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

C++: #include<iostream>
#include <fstream>
#include<string>
#include<cctype>
using namespace std;
string str;
string::iterator itr;
int main() {
	cin >> str;
	int p = str.size();
	itr = str.end();
	for (int i = 0; i < p; i++)
	{
		itr--;
		cout << *itr;
		
	}
	cout << endl;
			return 0;
}

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

int main() {
	int i;
	string s;
	cin >> s;
	for (i = 0; i <= 20; i++) {
		if (s[i] == 0)
			break;
	}
	for (i--; 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 <algorithm>
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() {
	char str[25];
	for (int i = 0; i < 25; i++) {
		str[i] = '\0';
	}
	cin >> str;
	for (int i = 24; i >= 0; i--) {
		if (str[i] == '\0') continue;
		cout << str[i];
	}
	cout << endl;
	return 0;
}

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

#define REP(i, n) for(i=0;i<n;i++)
#define MOD_NUM (1000000007)

int main(void)
{
	char str[21];
	int i;

	fgets(str, sizeof(str), stdin);

	for (int i = strlen(str) - 1; i >= 0; i--){
		if (str[i] == '\r' || str[i] == '\n') continue;
		
		printf("%c", str[i]);
	}
	printf("\n");

	return 0;
}

C++: #include <bits/stdc++.h>

using namespace std;
using ll = long long;
using pii = pair<int, int>;

int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(10);
  
  string s;
  cin >> s;
  reverse(s.begin(), s.end());
  cout << s << endl;

  return 0;
}

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

using namespace std;

int main() {

	char str[20];
	int i, len;

	cin >> str;
	len = strlen(str);

	for (i = len - 1; i >= 0; i--)
		cout << str[i];

	putchar('\n');

	return 0;
}

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

using namespace std;

int main() {

	char str[20];
	int i, len;

	cin >> str;
	len = strlen(str);

	for (i = len - 1; i >= 0; i--)
		cout << str[i] << endl;

	return 0;

}

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;

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

	return 0;
}

C++: #include <iostream>
#include <vector>
#include <set>
#include <queue>
#include <stack>
#include <string>
#include <sstream>
#include <list>
#include <functional>
#include <algorithm>

using namespace std;

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

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

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

	return 0;
}

C++: string = input("input data")
size = len(string)
st = []
for i in range(size):
    st.append(string[size-i-1])
print(''.join(st), end='')
print('')

C++: #include<iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
#include <sstream>
typedef long long ll;
int main(){
string s;
	cin>>s;
	for (int i = s.length()-1; i >= 0; --i) {
		cout<<s[i];
	}
	cout<<endl;
}