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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a; a int b; b b = y b y y = x y x x = b x b a = x a x x = z x z z = a z a 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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      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 a;
      int b;
      b = y;
      y = x;
      x = b;
      a = x;
      x = z;
      z = a;
      System.out.println(x+" "+y+" "+z);
	}
}