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