

import java.util.Scanner;

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

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

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

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

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

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int a = x; a x int b = y; b y int c = z; c z int mix; mix mix = a mix a a = b a b b = mix b mix mix = a mix a a = c a c c = mix c mix System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

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

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

		sc.close();
	}
} Main


import java.util.Scanner;

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

		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();

		int a = x;
		int b = y;
		int c = z;

		int mix;

		mix = a;
		a = b;
		b = mix;

		mix = a;
		a = c;
		c = mix;

		System.out.println(a + " " + b + " " + c);

		sc.close();
	}
}
