#include <iostream>
using namespace std;
#include <string>
string name[50];
string num[50];
int n;
int main(){
void putin();
void putout(string findName);
string findName;
cout<<"Please putin the number of the class:";
cin>>n;
putin();
cout<<"Please putin the name of the student:";
cin>>findName;
putout(findName);
return 0;
}
void putin(){
for(int i=0;i<n;i++){
cout<<"Please put in name and number";
cin>>name[i]>>" ">>num[i];
}
}
void putout(string findName){
bool flag=false;
for(int a=0;a<n;a++){
if(name[a]==findName){
cout<<findName<<""<<num[a];
flag=true;
break;
}
if(flag==false){
cout<<"people not found";}
}
}