import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //コンソールから入れる際に高速に入れる方法

        
        String strArr[] = br.readLine().split(" ");
      	 
        String temp = strArr[1]; 
      	strArr[1] = strArr[0];
      	strArr[0] = strArr[2];
      	strArr[2] = temp;
          System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //コンソールから入れる際に高速に入れる方法

        
        String strArr[] = br.readLine().split(" ");
      	 
        String temp = strArr[1]; 
      	strArr[1] = strArr[0];
      	strArr[0] = strArr[2];
      	strArr[2] = temp;
          System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]);
    }
} Main public static void main(String[] args) throws IOException {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //コンソールから入れる際に高速に入れる方法

        
        String strArr[] = br.readLine().split(" ");
      	 
        String temp = strArr[1]; 
      	strArr[1] = strArr[0];
      	strArr[0] = strArr[2];
      	strArr[2] = temp;
          System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]);
    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //コンソールから入れる際に高速に入れる方法

        
        String strArr[] = br.readLine().split(" ");
      	 
        String temp = strArr[1]; 
      	strArr[1] = strArr[0];
      	strArr[0] = strArr[2];
      	strArr[2] = temp;
          System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strArr[] = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String temp = strArr[1]; temp strArr[1] strArr 1 strArr[1] = strArr[0] strArr[1] strArr 1 strArr[0] strArr 0 strArr[0] = strArr[2] strArr[0] strArr 0 strArr[2] strArr 2 strArr[2] = temp strArr[2] strArr 2 temp System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]) System.out.println System.out System System.out strArr[0] + " " + strArr[1] + " " + strArr[2] " " strArr[1] strArr[0] + " " + strArr[1] + " " + strArr[2] strArr[0] strArr 0 " " strArr[1] strArr 1 " " strArr[2] strArr 2 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //コンソールから入れる際に高速に入れる方法

        
        String strArr[] = br.readLine().split(" ");
      	 
        String temp = strArr[1]; 
      	strArr[1] = strArr[0];
      	strArr[0] = strArr[2];
      	strArr[2] = temp;
          System.out.println(strArr[0] + " " + strArr[1] + " " + strArr[2]);
    }
}