import 'dart:io';
 
void main(List<String> args) {
  List<int> A = stdin.readLineSync().split(' ').map((i) => int.parse(i)).toList();
  stdout.write(A[2]);
  stdout.write(' ');
  stdout.write(A[0]);
  stdout.write(' ');
  print(A[1]);
}