#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<math.h>
#define RAND(min,max) (rand()%(max-min)+min)
#define DEBUG(void) {printf("\n%d\n",deb);num_debug++;}
char num_debug = 0;

int main(void) {
	srand((unsigned)time(NULL));
	
	char name[20];

	scanf("%s", name);
	for (int i = 0; i < 3; i++)
		printf("%c", name[i]);

	return 0;
}