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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	}
} 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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	}
} 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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	} main {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
      	int a=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	} 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=x; a x int b=y; b y int c=z; c z int aux=a aux a aux1=c; aux1 c a=b a b b=aux b aux c=a c a a=aux1 a aux1 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 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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	}
} 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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	}
} 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=x;
      int b=y;
      int c=z;
      int aux=a,aux1=c;
      a=b;
      b=aux;
      c=a;
      a=aux1;
		System.out.println((a+" "+b+" "+c));
	}
}
