import java.util.*;
 
public class Main { //クラス名はMain
    public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    }
} import java.util.*; util.* java public class Main { //クラス名はMain
    public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    }
} Main public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    } main {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int z = Integer.parseInt(sc.next()); z Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int work; work work = x work x x = y x y y = work y work work = x work x x = z x z z = work z work System.out.print(x) System.out.print System.out System System.out x System.out.print(" ") System.out.print System.out System System.out " " System.out.print(y) System.out.print System.out System System.out y System.out.print(" ") System.out.print System.out System System.out " " System.out.print(z) System.out.print System.out System System.out z String[] args args public class Main { //クラス名はMain
    public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    }
} public class Main { //クラス名はMain
    public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    }
} Main
import java.util.*;
 
public class Main { //クラス名はMain
    public static void main(String[] args) {
      //整数の入力
      Scanner sc = new Scanner(System.in);
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int z = Integer.parseInt(sc.next());
      int work;

      work = x;
      x = y;
      y = work;

      work = x;
      x = z;
      z = work;

      System.out.print(x);
      System.out.print(" ");
      System.out.print(y);
      System.out.print(" ");
      System.out.print(z);
    }
}
