import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




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

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  } main {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int save; save save = z save z z = y z y y = x y x x = save x save 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 public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  }
}