#include <iostream>
#include <cstring>
using namespace std;
int main()
{
char sir_final[1000];
char *vector_siruri[]={"ana","are","an","george","smen","ab"};
int n = 6;
int min = 1000;
for(int i=0; i<n; i++)
if(strlen(vector_siruri[i])<min)
min = strlen(vector_siruri[i]);
int pos=0;
for(int i=0; i<n; i++)
if(strlen(vector_siruri[i])==min)
{
for(int j=0; j<strlen(vector_siruri[i]); j++)
{
sir_final[pos]=vector_siruri[i][j];
pos++;
}
sir_final[pos]='\0';
}
cout<<"Sir: "<<sir_final<<endl;
return 0;
}