#include <stdio.h>

void change(int *x, int *y)
{
    int *temp;

    temp = x;
    x = y;
    y = temp;
}

int main()
{
    int a, b, c;

    do
    {
        scanf("%d %d %d", &a, &b, &c);
    } while (a < 1 || b < 1 || c < 1 || a > 100 || b > 100 || c > 100);

    change(&a, &b);
    change(&a, &c);

    printf("%d %d %d", a, b, c);

    return 0;
}