import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int x, y, z;
		x = scanner.nextInt();
		y = scanner.nextInt();
		z = scanner.nextInt();
		//swap box A and B
		int copy = x;
		x = y;
		y = copy;
		//swap box A and C
		copy = x;
		x = z;
		z = copy;
		System.out.println("" + x + " " + y + " " + z);
	}
} import java.util.*; util.* java class Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int x, y, z;
		x = scanner.nextInt();
		y = scanner.nextInt();
		z = scanner.nextInt();
		//swap box A and B
		int copy = x;
		x = y;
		y = copy;
		//swap box A and C
		copy = x;
		x = z;
		z = copy;
		System.out.println("" + x + " " + y + " " + z);
	}
} Main public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int x, y, z;
		x = scanner.nextInt();
		y = scanner.nextInt();
		z = scanner.nextInt();
		//swap box A and B
		int copy = x;
		x = y;
		y = copy;
		//swap box A and C
		copy = x;
		x = z;
		z = copy;
		System.out.println("" + x + " " + y + " " + z);
	} main {
		Scanner scanner = new Scanner(System.in);
		int x, y, z;
		x = scanner.nextInt();
		y = scanner.nextInt();
		z = scanner.nextInt();
		//swap box A and B
		int copy = x;
		x = y;
		y = copy;
		//swap box A and C
		copy = x;
		x = z;
		z = copy;
		System.out.println("" + x + " " + y + " " + z);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x x y y z; z x = scanner.nextInt() x scanner.nextInt() scanner.nextInt scanner y = scanner.nextInt() y scanner.nextInt() scanner.nextInt scanner z = scanner.nextInt() z scanner.nextInt() scanner.nextInt scanner int copy = x; copy x x = y x y y = copy y copy copy = x copy x x = z x z z = copy z copy System.out.println("" + x + " " + y + " " + z) System.out.println System.out System System.out "" + x + " " + y + " " + z " " y " " "" + x + " " + y + " " + z "" x " " y " " z String args[] args
import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int x, y, z;
		x = scanner.nextInt();
		y = scanner.nextInt();
		z = scanner.nextInt();
		//swap box A and B
		int copy = x;
		x = y;
		y = copy;
		//swap box A and C
		copy = x;
		x = z;
		z = copy;
		System.out.println("" + x + " " + y + " " + z);
	}
}