
import java.util.Scanner;
class Main{
public static void main(String[]args){

Scanner sc= new Scanner(System.in);
int X =sc.nextInt();
int Y =sc.nextInt();
int Z =sc.nextInt();


int num=Y;
Y = X;
int ans =Z;
Z = num;

System.out.println(ans);
System.out.println(Y);
System.out.println(Z);

}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[]args){

Scanner sc= new Scanner(System.in);
int X =sc.nextInt();
int Y =sc.nextInt();
int Z =sc.nextInt();


int num=Y;
Y = X;
int ans =Z;
Z = num;

System.out.println(ans);
System.out.println(Y);
System.out.println(Z);

}
} Main public static void main(String[]args){

Scanner sc= new Scanner(System.in);
int X =sc.nextInt();
int Y =sc.nextInt();
int Z =sc.nextInt();


int num=Y;
Y = X;
int ans =Z;
Z = num;

System.out.println(ans);
System.out.println(Y);
System.out.println(Z);

} main {

Scanner sc= new Scanner(System.in);
int X =sc.nextInt();
int Y =sc.nextInt();
int Z =sc.nextInt();


int num=Y;
Y = X;
int ans =Z;
Z = num;

System.out.println(ans);
System.out.println(Y);
System.out.println(Z);

} Scanner sc= new Scanner(System.in); sc new Scanner(System.in) int X =sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y =sc.nextInt(); Y sc.nextInt() sc.nextInt sc int Z =sc.nextInt(); Z sc.nextInt() sc.nextInt sc int num=Y; num Y Y = X Y X int ans =Z; ans Z Z = num Z num System.out.println(ans) System.out.println System.out System System.out ans System.out.println(Y) System.out.println System.out System System.out Y System.out.println(Z) System.out.println System.out System System.out Z String[]args args

import java.util.Scanner;
class Main{
public static void main(String[]args){

Scanner sc= new Scanner(System.in);
int X =sc.nextInt();
int Y =sc.nextInt();
int Z =sc.nextInt();


int num=Y;
Y = X;
int ans =Z;
Z = num;

System.out.println(ans);
System.out.println(Y);
System.out.println(Z);

}
}