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