#include<stdio.h>

void swap(int p, int q) {
   int tmp = q;
   q = p;
   p = tmp;
}

int main() {
   int x,y,z;
   scanf("%d %d %d", &x, &y, &z);
   swap(x,y);
   swap(x,z);
   printf("%d %d %d\n", x,y,z);
   return 0;
}


