import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int X = scanner.nextInt();
    int Y = scanner.nextInt();
    int Z = scanner.nextInt();
    
    int x = X;
    int y = Y;
    int z = Z;
    
    Y = x;
    Z = y;
    X = z;
    
    System.out.println(X+" "+Y+" "+Z);
  }
}

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

class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int X = scanner.nextInt();
    int Y = scanner.nextInt();
    int Z = scanner.nextInt();
    
    int x = X;
    int y = Y;
    int z = Z;
    
    Y = x;
    Z = y;
    X = z;
    
    System.out.println(X+" "+Y+" "+Z);
  }
}

    