import java.util.Scanner; 

class Main{

 public static void main(String[] args){

 Scanner scan = new Scanner(System.in);

 int A = scan.nextInt();
 int B = scan.nextInt();
 int C = scan.nextInt();
   
 int w = A;
   A = B;
   B = w;
   w = A;
   A = C;
   C = w;
System.out.println(A+" "+B+" "+C);

 }
} import java.util.Scanner; Scanner java.util class Main{

 public static void main(String[] args){

 Scanner scan = new Scanner(System.in);

 int A = scan.nextInt();
 int B = scan.nextInt();
 int C = scan.nextInt();
   
 int w = A;
   A = B;
   B = w;
   w = A;
   A = C;
   C = w;
System.out.println(A+" "+B+" "+C);

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

 Scanner scan = new Scanner(System.in);

 int A = scan.nextInt();
 int B = scan.nextInt();
 int C = scan.nextInt();
   
 int w = A;
   A = B;
   B = w;
   w = A;
   A = C;
   C = w;
System.out.println(A+" "+B+" "+C);

 } main {

 Scanner scan = new Scanner(System.in);

 int A = scan.nextInt();
 int B = scan.nextInt();
 int C = scan.nextInt();
   
 int w = A;
   A = B;
   B = w;
   w = A;
   A = C;
   C = w;
System.out.println(A+" "+B+" "+C);

 } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int A = scan.nextInt(); A scan.nextInt() scan.nextInt scan int B = scan.nextInt(); B scan.nextInt() scan.nextInt scan int C = scan.nextInt(); C scan.nextInt() scan.nextInt scan int w = A; w A A = B A B B = w B w w = A w A A = C A C C = w C w System.out.println(A+" "+B+" "+C) System.out.println System.out System System.out A+" "+B+" "+C " " B A+" "+B+" "+C A " " B " " C String[] args args
import java.util.Scanner; 

class Main{

 public static void main(String[] args){

 Scanner scan = new Scanner(System.in);

 int A = scan.nextInt();
 int B = scan.nextInt();
 int C = scan.nextInt();
   
 int w = A;
   A = B;
   B = w;
   w = A;
   A = C;
   C = w;
System.out.println(A+" "+B+" "+C);

 }
}