import java.util.Scanner;

/**
 * ABC Swap
 */
public class Main {

	public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	}
} Main public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	} main {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	} try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		} {
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) 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 StringBuilder sb = new StringBuilder(); sb new StringBuilder() sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y) sb.append(z).append(" ")
				.append(x).append(" ")
				.append sb.append(z).append(" ")
				.append(x).append(" ") sb.append(z).append(" ")
				.append(x).append sb.append(z).append(" ")
				.append(x) sb.append(z).append(" ")
				.append sb.append(z).append(" ") sb.append(z).append sb.append(z) sb.append sb z " " x " " y System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String...args args public class Main {

	public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	}
} public class Main {

	public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	}
} Main
import java.util.Scanner;

/**
 * ABC Swap
 */
public class Main {

	public static void main(String...args) {
		try (Scanner sc = new Scanner(System.in)){
			int x = sc.nextInt();
			int y = sc.nextInt();
			int z = sc.nextInt();
			StringBuilder sb = new StringBuilder();
			sb.append(z).append(" ")
				.append(x).append(" ")
				.append(y);
			System.out.println(sb.toString());
		}
	}
}