// editor5
#include<stdio.h>
int main(){
    int n;
    scanf("%d",&n);
    char fr[n][20];
    for(int i=0;i<n;i++){
        scanf("%s",fr[i]);
    }
    char sr[20];
    scanf("%s",sr);
    int found=0;
    for(int i=0;i<n;i++){
        if(strcmp(fr[i],sr)==0){
            found=1;
            break;
        }
    }
    if(!found){
        printf("Fruit not found!");
    }
    else{
        for(int i=0;i<n;i++){
            printf("%s",fr[i]);
        }
    }
    return 0;
}