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

procedure Main is
	x:Integer;
    y:Integer;
    z:Integer;
begin
	get(x);
	get(y);
	get(z);
    put(z);
    new_line;
    put(x);
    new_line;
    put(y);
    new_line;
end Main;