/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this emplate file, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.*;
/**
 *
 * @author naoyagonda
 */
/*
1 2 3
2 1 3
3 1 2
*/
public class Main {

    public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    }
    
} import java.util.*; util.* java public class Main {

    public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    }
    
} Main public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    } main {
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int num_1 = scanner.nextInt(); num_1 scanner.nextInt() scanner.nextInt scanner int num_2 = scanner.nextInt(); num_2 scanner.nextInt() scanner.nextInt scanner int num_3 = scanner.nextInt(); num_3 scanner.nextInt() scanner.nextInt scanner int tmp=0; tmp 0 tmp=num_1 tmp num_1 num_1=num_2 num_1 num_2 num_2=tmp num_2 tmp tmp=num_1 tmp num_1 num_1=num_3 num_1 num_3 num_3=tmp num_3 tmp System.out.println(num_1+" "+num_2+" "+num_3) System.out.println System.out System System.out num_1+" "+num_2+" "+num_3 " " num_2 num_1+" "+num_2+" "+num_3 num_1 " " num_2 " " num_3 String[] args args public class Main {

    public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    }
    
} public class Main {

    public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    }
    
} Main
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this emplate file, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.*;
/**
 *
 * @author naoyagonda
 */
/*
1 2 3
2 1 3
3 1 2
*/
public class Main {

    public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int num_1 = scanner.nextInt();
    int num_2 = scanner.nextInt();
    int num_3 = scanner.nextInt();
      
    int tmp=0;
    tmp=num_1;
    num_1=num_2;
    num_2=tmp;
      
    tmp=num_1;
    num_1=num_3;
    num_3=tmp;

    System.out.println(num_1+" "+num_2+" "+num_3);
      
    }
    
}