import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int x = Integer.parseInt(st.nextToken()); x Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int y = Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int z = Integer.parseInt(st.nextToken()); z Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int tmp = x; tmp x x = y x y y = tmp y tmp tmp = x tmp x x = z x z z = tmp z tmp 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 public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		StringTokenizer st = new StringTokenizer(br.readLine());
		
		int x = Integer.parseInt(st.nextToken());
		int y = Integer.parseInt(st.nextToken());
		int z = Integer.parseInt(st.nextToken());
		
		int tmp = x;
		x = y;
		y = tmp;
		
		tmp = x;
		x = z;
		z = tmp;
		
		System.out.println(x + " "+ y+ " " + z);
	}

}