//package atcoder;
 
import java.util.*;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int S[] = new int[3]; S new int[3] 3 for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		} {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		} S[i] = sc.nextInt() S[i] S i sc.nextInt() sc.nextInt sc int temp=0; temp 0 temp = S[0] temp S[0] S 0 S[0] = S[1] S[0] S 0 S[1] S 1 S[1] = temp S[1] S 1 temp int temp2=0; temp2 0 temp2 = S[0] temp2 S[0] S 0 S[0] = S[2] S[0] S 0 S[2] S 2 S[2] = temp2 S[2] S 2 temp2 for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		} int j=0; int j=0; j 0 j<3 j 3 j++ j++ j {
			System.out.print(S[j]+" ");
		} {
			System.out.print(S[j]+" ");
		} System.out.print(S[j]+" ") System.out.print System.out System System.out S[j]+" " S[j] S j " " String[] args args public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	}
} public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	}
} Main
//package atcoder;
 
import java.util.*;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//char S[] = new char[3];
		int S[] = new int[3];
		for(int i=0;i<3;i++) {
			S[i] = sc.nextInt();
			//System.out.println(S[i]);
		}
		int temp=0;
		temp = S[0];
		S[0] = S[1];
		S[1] = temp;
		
		int temp2=0;
		temp2 = S[0];
		S[0] = S[2];
		S[2] = temp2;
		
		for(int j=0;j<3;j++) {
			System.out.print(S[j]+" ");
		}
	}
}