import java.util.*;

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

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int list[] = new int[3];

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int list[] = new int[3];

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int list[] = new int[3];

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int list[] = new int[3]; list new int[3] 3 for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		} int i=0; int i=0; i 0 i < 3 i 3 i++ i++ i {
			list[i] = scan.nextInt();
		} {
			list[i] = scan.nextInt();
		} list[i] = scan.nextInt() list[i] list i scan.nextInt() scan.nextInt scan int temp =0; temp 0 temp = list[0] temp list[0] list 0 list[0] = list[1] list[0] list 0 list[1] list 1 list[1]  = temp list[1] list 1 temp temp = list[0] temp list[0] list 0 list[0] = list[2] list[0] list 0 list[2] list 2 list[2] = temp list[2] list 2 temp for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		} int i=0; int i=0; i 0 i < 3 i 3 i++ i++ i {
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		} {
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		} if(i != 2)System.out.print(list[i] + " "); i != 2 i 2 System.out.print(list[i] + " ") System.out.print System.out System System.out list[i] + " " list[i] list i " " if(i == 2)System.out.print(list[i]); i == 2 i 2 System.out.print(list[i]) System.out.print System.out System System.out list[i] list i String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int list[] = new int[3];

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int list[] = new int[3];

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	}
} Main
import java.util.*;

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

		for (int i=0; i < 3; i++){
			list[i] = scan.nextInt();
		}

		int temp =0;
		temp = list[0];
		list[0] = list[1];
		list[1]  = temp;
		temp = list[0];
		list[0] = list[2];
		list[2] = temp;

		for (int i=0; i < 3; i++){
			if(i != 2)System.out.print(list[i] + " ");
			if(i == 2)System.out.print(list[i]);
		}
	}
}