Given number N. Print the number that will be obtained when writing the number N from right to left.

program spravonalevo // Program name

var
i: integer; // Create an integer variable i
str, str2: string; // Create 2 string variables
begin
readln (str); // Read the line
str2: = str;
i: = 1;
while i <= length (str) do // in a loop from 1 to the end of the line, go through and change characters
begin
str2 [length (str) + 1-i]: = str [i]; // the first character of string str is assigned to the last character in string str2, the second character of string str is assigned to the penultimate string str2, etc.
i: = i + 1;
end;
println (str2);

end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.