import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner (System.in);

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

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

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

    System.out.println(x+" "+y+" "+z);
  }
} Main public static void main(String[] args){
    Scanner scan = new Scanner (System.in);

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

    System.out.println(x+" "+y+" "+z);
  } main {
    Scanner scan = new Scanner (System.in);

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

    System.out.println(x+" "+y+" "+z);
  } Scanner scan = new Scanner (System.in); scan new Scanner (System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int z = scan.nextInt(); z scan.nextInt() scan.nextInt scan int change; change change = x change x x = y x y y = change y change change = x change x x = z x z z = change z change 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 scan = new Scanner (System.in);

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

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

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

    System.out.println(x+" "+y+" "+z);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner (System.in);

    int x = scan.nextInt();
    int y = scan.nextInt();
    int z = scan.nextInt();
    int change;

  change = x;
    x = y;
    y = change;

    change = x;
    x = z;
    z = change;

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