import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	}
} Main public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	} main {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	} Scanner v = new Scanner(System.in); v new Scanner(System.in) int a = v.nextInt(); a v.nextInt() v.nextInt v int b = v.nextInt(); b v.nextInt() v.nextInt v int c = v.nextInt(); c v.nextInt() v.nextInt v int z = a; z a a = b a b b = z b z z = a z a a = c a c c = z c z System.out.printf("%d %d %d",a,b,c) System.out.printf System.out System System.out "%d %d %d" a b c String[] args args public class Main {

	public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	}
} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner v = new Scanner(System.in);
		int a = v.nextInt();
		int b = v.nextInt();
		int c = v.nextInt();
		int z = a;
		a = b;
		b = z;
		z = a;
		a = c;
		c = z;
		System.out.printf("%d %d %d",a,b,c);
	}
}
