//package atcoder.ABC;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	}

} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	}

} Main public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	} main {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	} Scanner input = new java.util.Scanner(System.in); input new java.util.Scanner(System.in) String a = input.next(); a input.next() input.next input String b = input.next(); b input.next() input.next input String c = input.next(); c input.next() input.next input System.out.println(c+" "+a+" "+b) System.out.println System.out System System.out c+" "+a+" "+b " " a c+" "+a+" "+b c " " a " " b String[] args args public class Main {
	public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	}

} public class Main {
	public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	}

} Main
//package atcoder.ABC;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner input = new java.util.Scanner(System.in);
		
		String a = input.next();
		String b = input.next();
		String c = input.next();
		
		System.out.println(c+" "+a+" "+b);
		
	}

}
