#include <stdio.h>
#define _CRT_SECURE_NO_WARNINGS

#define NUMBER 3 // the number of students

int main(void){
	int i;
	int tensu[NUMBER];

	for(i=0;i<NUMBER;i++){
		scanf("%d",&tensu[i]);
	}

	if(NUMBER%2==0){   //NUMBER is not odd

		for(i=0;i<NUMBER/2;i++){
			int temp[NUMBER];
			temp[i] = tensu[i];
			tensu[i] = tensu[NUMBER-i-1];
			tensu[NUMBER-i-1] = temp[i];
		}
	}else{
		for(i=0;i<(NUMBER-1)/2;i++){
			int temp[NUMBER];
			temp[i] = tensu[i];
			tensu[i] = tensu[NUMBER-i-1];
			tensu[NUMBER-i-1] = temp[i];
		}
	}

	for(i=0;i<NUMBER;i++){
		printf("%d\n",tensu[i]);
	}

	return 0;
}
