s="";c=" ";while(c)[s=c+s;c=System.file.stdin|read(1);];s|print;