import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    int c = stdIn.nextInt();
    
    int a2 = a;
    int b2 = b;
    int c2 = c;
    
    a = b;
    b = a2;

    int a3 = a;
    int b3 = b;
    int c3 = c;
    a = c3;
    c = a3;
    
    System.out.println(a + " " + b + " " + c);
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    int c = stdIn.nextInt();
    
    int a2 = a;
    int b2 = b;
    int c2 = c;
    
    a = b;
    b = a2;

    int a3 = a;
    int b3 = b;
    int c3 = c;
    a = c3;
    c = a3;
    
    System.out.println(a + " " + b + " " + c);
  }
} Main public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    int c = stdIn.nextInt();
    
    int a2 = a;
    int b2 = b;
    int c2 = c;
    
    a = b;
    b = a2;

    int a3 = a;
    int b3 = b;
    int c3 = c;
    a = c3;
    c = a3;
    
    System.out.println(a + " " + b + " " + c);
  } main {
    Scanner stdIn = new Scanner(System.in);
    
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    int c = stdIn.nextInt();
    
    int a2 = a;
    int b2 = b;
    int c2 = c;
    
    a = b;
    b = a2;

    int a3 = a;
    int b3 = b;
    int c3 = c;
    a = c3;
    c = a3;
    
    System.out.println(a + " " + b + " " + c);
  } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int c = stdIn.nextInt(); c stdIn.nextInt() stdIn.nextInt stdIn int a2 = a; a2 a int b2 = b; b2 b int c2 = c; c2 c a = b a b b = a2 b a2 int a3 = a; a3 a int b3 = b; b3 b int c3 = c; c3 c a = c3 a c3 c = a3 c a3 System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    int c = stdIn.nextInt();
    
    int a2 = a;
    int b2 = b;
    int c2 = c;
    
    a = b;
    b = a2;

    int a3 = a;
    int b3 = b;
    int c3 = c;
    a = c3;
    c = a3;
    
    System.out.println(a + " " + b + " " + c);
  }
}