import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    } main {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int temp = x; temp x x = y x y y = temp y temp temp = x temp x x = z x z z = temp z temp System.out.println(x + " " + y + " " + z) System.out.println System.out System System.out x + " " + y + " " + z " " y x + " " + y + " " + z x " " y " " z String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    }
} Main
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
 
        int x = sc.nextInt();
      	int y = sc.nextInt();
      	int z = sc.nextInt();
      	int temp = x;
      	x = y;
      	y = temp;
      	temp = x;
      	x = z;
      	z = temp;
      	System.out.println(x + " " + y + " " + z);
    }
}