import java.util.*;

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;
    t = x;
    x = y;
    y = t;
    t = x;
    x = z;
    z = t;
    System.out.print(x);
    System.out.print(" "+y);
    System.out.println(" "+z);
  }
} import java.util.*; util.* java 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;
    t = x;
    x = y;
    y = t;
    t = x;
    x = z;
    z = t;
    System.out.print(x);
    System.out.print(" "+y);
    System.out.println(" "+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;
    t = x;
    x = y;
    y = t;
    t = x;
    x = z;
    z = t;
    System.out.print(x);
    System.out.print(" "+y);
    System.out.println(" "+z);
  } main {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int t;
    t = x;
    x = y;
    y = t;
    t = x;
    x = z;
    z = t;
    System.out.print(x);
    System.out.print(" "+y);
    System.out.println(" "+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; t t = x t x x = y x y y = t y t t = x t x x = z x z z = t z t System.out.print(x) System.out.print System.out System System.out x System.out.print(" "+y) System.out.print System.out System System.out " "+y " " y System.out.println(" "+z) System.out.println System.out System System.out " "+z " " z String[] args args
import java.util.*;

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;
    t = x;
    x = y;
    y = t;
    t = x;
    x = z;
    z = t;
    System.out.print(x);
    System.out.print(" "+y);
    System.out.println(" "+z);
  }
}