import java.util.*;
public 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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+Z);
    }
} import java.util.*; util.* java public 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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+Z);
    } main {
		Scanner sc = new Scanner(System.in);
      int X = sc.nextInt();
      int Y = sc.nextInt();
      int Z = sc.nextInt();
      int W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+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 W; W W=X W X X=Y X Y Y=W Y W W=X W X X=Z X Z Z=W Z W System.out.println(X+" "+Y+" "+Z) System.out.println System.out System System.out X+" "+Y+" "+Z " " Y X+" "+Y+" "+Z X " " Y " " Z String[] args args public 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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+Z);
    }
} public 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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+Z);
    }
} Main
import java.util.*;
public 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 W;
      W=X;
      X=Y;
      Y=W;
      
      W=X;
      X=Z;
      Z=W;
      System.out.println(X+" "+Y+" "+Z);
    }
}