import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  }
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  } main {
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan System.out.print(c) System.out.print System.out System System.out c System.out.print(" ") System.out.print System.out System System.out " " System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.println(b) System.out.println System.out System System.out b String[] args args public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  }
} public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    System.out.print(c);
    System.out.print(" ");
    System.out.print(a);
    System.out.print(" ");
    System.out.println(b);
  }
}
