import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	}

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

	public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	}

} Main public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	} main {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int save = 0; save 0 int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner int z = scanner.nextInt(); z scanner.nextInt() scanner.nextInt scanner save = x save x x = y x y y = save y save save = z save z z = x z x x = save x save System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z scanner.close() scanner.close scanner String args[] args public class Main {

	public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	}

} public class Main {

	public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner scanner = new Scanner(System.in);

		int save = 0;

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

		save = x;
		x = y;
		y = save;

		save = z;
		z = x;
		x = save;
		
		System.out.println(x + " " + y + " " + z);

		scanner.close();

	}

}