#include <stdio.h>

int main(int argc, const char * argv[])
{
    int inputX, inputY, inputZ;
    
    scanf("%d %d %d", &inputX, &inputY, &inputZ);
    printf("%d %d %d \n", inputZ, inputX, inputY);
    
    return 0;
}
