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