import java.util.Scanner;

public class Main {

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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	}


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

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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	}


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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int x=s.nextInt() x s.nextInt() s.nextInt s y=s.nextInt() y s.nextInt() s.nextInt s z=s.nextInt(); z s.nextInt() s.nextInt s int a a b b c; c a=y a y b=x b x c=a c a a=z a z 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 s = new Scanner(System.in);

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	}


} public class Main {

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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	}


} Main
import java.util.Scanner;

public class Main {

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

		int x=s.nextInt(), y=s.nextInt(), z=s.nextInt();
		int a,b,c;
		a=y;
		b=x;
		c=a;
		a=z;
		System.out.println(a+" "+b+" "+c);

	}


}
