#include <stdio.h>

void strip_string(char* str, int max_len)
{
    int count = 0;
    while(*str++ != '\0' && count++ < max_len);

    if(count > 1) {
        str -= 2;
        if(*str == '\n')
            *str = '\0';
    }
}

int main(void)
{
    char str[100];
    fgets(str, sizeof(str), stdin);
    strip_string(str, sizeof(str));

    char var_word[100];
    int i = 0, word_count = 0, var_flag = 0, j = 0;
    
    while(str[i] != '\0'){
        if(str[i] == 32 && var_flag != 0){
            var_flag = 0;
        }
        
        if(str[i] != 32 && var_flag == 0){
            word_count++;
            var_flag = 1;   
        }
        
        if(word_count == 2 && var_flag == 1){
            var_word[j] = str[i];
            j++;
            
        }
        
        if(word_count == 2 && var_flag == 0){
            var_word[j] = '\0';
            break;
        }
        
        
        i++;
    }
    
    if(word_count < 2){
        printf("%s", "no");
    } else {
        printf("%s", var_word);
    }
    
    return 0;
}