import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a a b b c; c a = scanner.nextInt() a scanner.nextInt() scanner.nextInt scanner b = scanner.nextInt() b scanner.nextInt() scanner.nextInt scanner c = scanner.nextInt() c scanner.nextInt() scanner.nextInt scanner int tmp = 0; tmp 0 tmp = a tmp a a = b a b b = tmp b tmp tmp = a tmp a a = c a c c = tmp c tmp System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	}

} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int a, b, c;
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		
		int tmp = 0;
		tmp = a;
		a = b;
		b = tmp;
		
		tmp = a;
		a = c;
		c = tmp;
		
		System.out.println(a + " " + b + " " + c);
		

		scanner.close();
	}

}
