'use strict';

const inputs = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n');

const boxes = inputs[0].split(' ').map(v => parseInt(v, 10));

let tmp = boxes[1];
boxes[1] = boxes[0];
boxes[0] = tmp;

tmp = boxes[2]
boxes[2] = boxes[0]
boxes[0] = tmp;

console.log(boxes.join(' '));
