#include<stdio.h>
void swap(int *a , int *b){
	int tmp;
  	tmp = *a;
  	*a = *b;
  	*b = tmp;
}
int main(void){
  	int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  swap(&a,&b);
  swap(&a,&c);
  printf("%d%d%d",a,b,c);
  return 0;
}
  
