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