import java.util.Scanner;

public class Main 
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	}
} import java.util.Scanner; Scanner java.util public class Main 
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	}
} Main public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	} main {
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int t = b; t b b = a b a a = t a t t = c t c c = a c a a = t a t 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 public class Main 
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	}
} public class Main 
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	}
} Main
import java.util.Scanner;

public class Main 
{
	public static void main(String[] args)
	{
		Scanner scan = new Scanner(System.in);
		
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		
		int t = b;
		b = a;
		a = t;
		
		t = c;
		c = a;
		a = t;
		
		System.out.println(a + " " + b + " " + c);
		
	}
}
