#include <iostream>
using namespace std;
int main() {
int n,m;
int num,minimum;
cout<<"please enter the number of digits that you want to enter:\n";
cin>>m;
cout<< "please enter a number:\n";
cin>>num;
minimum=num;
for(n=1;n>m;n++)
{
cout<<"pleas enter a number :\n";
cin>>num;
if(minimum<=num)
minimum=num;
}
cout<<"The minimum is:"<<minimum<<endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBuLG07CmludCBudW0sbWluaW11bTsKY291dDw8InBsZWFzZSBlbnRlciB0aGUgbnVtYmVyIG9mIGRpZ2l0cyB0aGF0IHlvdSB3YW50IHRvIGVudGVyOlxuIjsKY2luPj5tOwpjb3V0PDwgInBsZWFzZSBlbnRlciBhIG51bWJlcjpcbiI7CmNpbj4+bnVtOwptaW5pbXVtPW51bTsKZm9yKG49MTtuPm07bisrKQogeyAKIGNvdXQ8PCJwbGVhcyBlbnRlciBhIG51bWJlciA6XG4iOwogY2luPj5udW07CiBpZihtaW5pbXVtPD1udW0pCiBtaW5pbXVtPW51bTsKIH0gCmNvdXQ8PCJUaGUgbWluaW11bSBpczoiPDxtaW5pbXVtPDxlbmRsOwp9IAoK