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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y; t y y = x y x x = t x t int r = x; r x x = z x z z = r z r 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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y;
    y = x;
    x = t;

    int r = x;
    x = z;
    z = r;
    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 t = y;
    y = x;
    x = t;

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

  }
}
