#include<iostream>
using namespace std;
int big (int a, int b){
if(a>b) return a;
else return b;
}
int big(int a[], int size){
int res = a[0];
for(int i = 1; i<size; i++)
if(res < a[i]) res = a[i];
return res;
}
int small (int a, int b){
if(a>b) return b;
else return a;
}
int small(int a[], int size){
int res = a[0];
for(int i = 1; i<size; i++)
if(res > a[i]) res = a[i];
return res;
}
int main()
{
int ar[] = {1,8,-3,4,6,7,8,6,4,56,4};
//cout<<big(2,3)<<endl;
cout<<"μ΅λ κ° : "<<big(ar,sizeof(ar)/sizeof(ar[0]))<<endl;
//cout<<small(2,3)<<endl;
cout<<"μ΅μ κ° : "<<small(ar,sizeof(ar)/sizeof(ar[0]))<<endl;
return 0;
}