import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        tmp = x;
        x = y;
        y = tmp;
        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x+" "+y+" "+z);
	}
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        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) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        tmp = x;
        x = y;
        y = tmp;
        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x+" "+y+" "+z);
	} main {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        tmp = x;
        x = y;
        y = tmp;
        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x+" "+y+" "+z);
	} Scanner sc = new Scanner(System.in); sc 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 int tmp; tmp 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) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        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) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        tmp = x;
        x = y;
        y = tmp;
        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x+" "+y+" "+z);
	}
} Main
import java.util.*;
import java.math.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int z = sc.nextInt();
        int tmp;
        tmp = x;
        x = y;
        y = tmp;
        tmp = x;
        x = z;
        z = tmp;
        System.out.println(x+" "+y+" "+z);
	}
}