cat(rev(strsplit(readChar("stdin",999),"")[[1]]),sep="")