import java.io.*;

public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	}
} import java.io.*; io.* java public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	}
} Main public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	} main {
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	} BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str1=br.readLine(); str1 br.readLine() br.readLine br String[] strs=str1.split(" ",3); strs str1.split(" ",3) str1.split str1 " " 3 int[] nums=new int[3]; nums new int[3] 3 int num=0; num 0 for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			nums[i]=Integer.parseInt(strs[i]);
		} {
			nums[i]=Integer.parseInt(strs[i]);
		} nums[i]=Integer.parseInt(strs[i]) nums[i] nums i Integer.parseInt(strs[i]) Integer.parseInt Integer strs[i] strs i num=nums[0] num nums[0] nums 0 nums[0]=nums[1] nums[0] nums 0 nums[1] nums 1 nums[1]=num nums[1] nums 1 num num=nums[0] num nums[0] nums 0 nums[0]=nums[2] nums[0] nums 0 nums[2] nums 2 nums[2]=num nums[2] nums 2 num System.out.print(nums[0]+" "+nums[1]+" " +nums[2]) System.out.print System.out System System.out nums[0]+" "+nums[1]+" " +nums[2] " " nums[1] nums[0]+" "+nums[1]+" " +nums[2] nums[0] nums 0 " " nums[1] nums 1 " " nums[2] nums 2 String[] args args public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	}
} public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	}
} Main
import java.io.*;

public class Main
{
	public static void main(String[] args)throws IOException
	{
		BufferedReader br=
		new BufferedReader(new InputStreamReader(System.in));
		
		String str1=br.readLine();
		String[] strs=str1.split(" ",3);
		int[] nums=new int[3];
		int num=0;
		for (int i=0;i<3;i++){
			nums[i]=Integer.parseInt(strs[i]);
		}
		num=nums[0];
		nums[0]=nums[1];
		nums[1]=num;
		num=nums[0];
		nums[0]=nums[2];
		nums[2]=num;
		System.out.print(nums[0]+" "+nums[1]+" " +nums[2]);
	}
}