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