#!/usr/local/bin/perl

print reverse <>;