#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>

int main(){
  char s[20];
  int n;
  memset(s, '\0', sizeof(s));
  srand((unsigned int)time(NULL));
  scanf("%s",s);
  //printf("%s",s);
  n = rand() % 18;

  while(s[n+2]=='\0')
    n = rand() % 18;
  printf("%c%c%c\n",s[n],s[n+1],s[n+2]);

  return 0;
}