with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;

procedure Solve is
   X : Integer;
   Y : Integer;
   Z : Integer;
begin
   Get (X);
   Get (Y);
   Get (Z);
   Put (Integer'Image (Z));
   Put (Integer'Image (X));
   Put (Integer'Image (Y));
end Solve;