#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<string.h>
#define BUFSIZE 1000000

char hoge[BUFSIZE] = {0};

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

}




}
