#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<assert.h>

#define max(a,b) ((a)>(b))?(a):(b)
#define min(a,b) ((a)>(b))?(b):(a)

typedef long long ll;
typedef unsigned long long ull;

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