#include <stdio.h>
#define PI 3.14159265358979323846
int main(){
  int X,Y,Z;
  scanf("%d %d %d", &X, &Y, &Z);
  
  int tmp;
  tmp = X;
  X = Y;
  Y = tmp;
  
  tmp = X;
  X = Z;
  Z = tmp;
  
  printf("%d %d %d", X, Y, Z);
  
}