import java.util.*;
public class Main {
	public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	}
} Main public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	} main {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int x = s.nextInt(); x s.nextInt() s.nextInt s int y = s.nextInt(); y s.nextInt() s.nextInt s int z = s.nextInt(); z s.nextInt() s.nextInt s int temp = y; temp y y = x y x x = z x z z = temp z temp System.out.println(x) System.out.println System.out System System.out x System.out.println(y) System.out.println System.out System System.out y System.out.println(z) System.out.println System.out System System.out z String[] args args public class Main {
	public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	}
} public class Main {
	public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) {
	    Scanner s = new Scanner(System.in);
	    int x = s.nextInt();
	    int y = s.nextInt();
	    int z = s.nextInt();
	    
	    int temp = y;
	    y = x;
	    x = z;
	    z = temp;
	    System.out.println(x);
	    System.out.println(y);
	    System.out.println(z);
	}
}