import java.util.*;
import java.io.*;
 
public class Main {
    public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    }
} Main public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    } main {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    } final Scanner s = new Scanner(System.in); s new Scanner(System.in) int x = Integer.parseInt(s.next()); x Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int y = Integer.parseInt(s.next()); y Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int z = Integer.parseInt(s.next()); z Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s System.out.println(z + " " + x + " " + y) System.out.println System.out System System.out z + " " + x + " " + y " " x z + " " + x + " " + y z " " x " " y final String[] args args public class Main {
    public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    }
} public class Main {
    public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    }
} Main
import java.util.*;
import java.io.*;
 
public class Main {
    public static void main (final String[] args) {
        final Scanner s = new Scanner(System.in);
          int x = Integer.parseInt(s.next());
          int y = Integer.parseInt(s.next());
      	  int z = Integer.parseInt(s.next());
      	
      	System.out.println(z + " " + x + " " + y);
    }
}