import java.util.*;
public class Main
{
	public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	}
} import java.util.*; util.* java public class Main
{
	public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	}
} Main public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	} main {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	} Scanner sc= new Scanner(System.in); sc new Scanner(System.in) int a[]=new int[3]; a new int[3] 3 for(int i=0;i<3;i++)
	    a[i]=sc.nextInt(); int i=0; int i=0; i 0 i<3 i 3 i++ i++ i a[i]=sc.nextInt(); a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int b[]=new int [3]; b new int [3] 3 for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    } {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    } b[i]=a[(i+2)%3] b[i] b i a[(i+2)%3] a (i+2)%3 (i+2) i 2 3 System.out.print(b[i]+" ") System.out.print System.out System System.out b[i]+" " b[i] b i " " String[] args args public class Main
{
	public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	}
} public class Main
{
	public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	}
} Main
import java.util.*;
public class Main
{
	public static void main(String[] args) {
	    Scanner sc= new Scanner(System.in);
	    int a[]=new int[3];
	    for(int i=0;i<3;i++)
	    a[i]=sc.nextInt();
	    
	    int b[]=new int [3];
	    for(int i=0;i<3;i++)
	    {
	        b[i]=a[(i+2)%3];
	    
	    System.out.print(b[i]+" ");
	    }
	   
	    
	    
	    
	}
}
