import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	}
	
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	}
	
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	} main {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int a = in.nextInt(); a in.nextInt() in.nextInt in int b = in.nextInt(); b in.nextInt() in.nextInt in int c = in.nextInt(); c in.nextInt() in.nextInt in int temp = 0; temp 0 temp = a temp a a = b a b b = temp b temp temp= c temp c c = a c a a = temp a temp System.out.print(a + " " + b + " " + c) System.out.print 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 in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	}
	
} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	}
	
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		int temp = 0;
		
		temp = a;
		a = b;
		b = temp;
		
		temp= c;
		c = a;
		a = temp;
		
		System.out.print(a + " " + b + " " + c);
		
	}
	
}