#include<stdio.h>
int main(void){
  int X,Y,Z,T;
  scanf("%d",&X);
  scanf("%d",&Y);
  scanf("%d",&Z);
  T = Z;
  Z = Y;
  Y = X;
  X = T;
  printf("%d",X);
  printf("%d",Y);
  printf("%d",Z);
  return 0;
}
  
  
  
