#include <stdio.h>

int main(){
    int len = 3;
    char str[20];
    char res[20];
    scanf("%s", str);

    for (int i = 0; (str[i] != '\0') && i < 3; i++) {
        res[i] = str[i];
        res[i + 1] = '\0';
    }
    printf("%s", res);
}

