#include <iostream.h>
int main()
{
int a,b,c,d,e;
cout<<"What is your first integer?"<<endl;
cin>>a;
cout<<"What is your second integer?"<<endl;
cin>>b;
cout<<"What is your third integer?"<<endl;
cin>>c;
cout<<"What is your fourth integer?"<<endl;
cin>>d;
cout<<"What is your fifth integer?"<<endl;
cin>>e;
if (a>b&& b>c&& c>d&& d>e)
{cout<<"The biggest integer is "<<a;
cout<<"The smallest integer is "<<e;}
else if (b>a&& c>d&& d>c&& c>e)
{cout<<"The biggest integer is " <<b;
cout<<"The smallest integer is " <<b;}
else if (c>a&& b>d&& d>e&& e>a)
{cout<<"The biggest integer is " <<c;
cout<<"The smallest integer is " <<a;}
else if (d>a&& c>b&& d>e&& d>c)
{cout<<"The biggest integer is " <<d;
cout<<"The smallest integer is " <<c;}
else
{cout<<"The biggest integer is " <<e;
cout<<"The smallest integer is " <<a;}
return 0;
}