#include<stdio.h>

int main() 
{
    int arr[3];
    int x, y, z;
    scanf("%d%d%d",&x, &y, &z);
    arr[0] = z;
    arr[1] = x;
    arr[2] = y;
    printf("%d%d%d",arr[0], arr[1], arr[2]);
    return 0;
}