#include<stdio.h>
void swap(int a, int b){
	int tmp;
  tmp = *a;
  a = b;
  *b = tmp;
  return;
}
  
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;
}
  