var
x: integer;
begin
readln (x);
writeln (((x mod 100) div 10)*1000 + ((x mod 1000) div 100)*100+(x div 1000)*10 + x mod 10)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
x: integer;
begin
readln (x);
writeln (((x mod 100) div 10)*1000 + ((x mod 1000) div 100)*100+(x div 1000)*10 + x mod 10)
end.