import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  }
} Main public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  } main {
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int[] box; box box=new int[3] box new int[3] 3 int[] score=new int[1]; score new int[1] 1 int m=box.length; m box.length box box.length for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    } int s=0; int s=0; s 0 s<m s m s++ s++ s {
      box[s]=sc.nextInt();
    } {
      box[s]=sc.nextInt();
    } box[s]=sc.nextInt() box[s] box s sc.nextInt() sc.nextInt sc score[0]=box[1] score[0] score 0 box[1] box 1 box[1]=box[0] box[1] box 1 box[0] box 0 box[0]=score[0] box[0] box 0 score[0] score 0 score[0]=box[2] score[0] score 0 box[2] box 2 box[2]=box[0] box[2] box 2 box[0] box 0 box[0]=score[0] box[0] box 0 score[0] score 0 System.out.println(box[0]+" "+box[1]+" "+box[2]) System.out.println System.out System System.out box[0]+" "+box[1]+" "+box[2] " " box[1] box[0]+" "+box[1]+" "+box[2] box[0] box 0 " " box[1] box 1 " " box[2] box 2 String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  }
} Main
import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int[] box;
    box=new int[3];
    int[] score=new int[1];
    int m=box.length;
    for(int s=0;s<m;s++){
      box[s]=sc.nextInt();
    }
    score[0]=box[1];
    box[1]=box[0];
    box[0]=score[0];
    score[0]=box[2];
    box[2]=box[0];
    box[0]=score[0];
    System.out.println(box[0]+" "+box[1]+" "+box[2]);
  }
}
