import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      }
    
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      }
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      } main {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      } Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(System.in))) System.out.println(solve(in)) System.out.println System.out System System.out solve(in) solve in String[] args args public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      } solve {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      } int A = in.nextInt(); A in.nextInt() in.nextInt in int B = in.nextInt(); B in.nextInt() in.nextInt in int C = in.nextInt(); C in.nextInt() in.nextInt in return C + " " + A + " " + B; C + " " + A + " " + B " " A C + " " + A + " " + B C " " A " " B Scanner in in public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      }
    
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      }
    
} Main
import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
       int A = in.nextInt();
       int B = in.nextInt();
       int C = in.nextInt();

       return C + " " + A + " " + B;
      }
    
}