#include<stdio.h>
#include<string.h>
int main(){
    char word[100];
    int space=" "
    fgets(word,strlen(word),stdin);
    for(int i=0;i<strlen(word);i++){
        if(word[i]==space){
            break;
        }
        else{
            printf("%c",word[i]);
        }
    }
}