#include <stdio.h>
int main()
{
	int numbers[8] = {3, -10, 6, 0, 2, -1, 8, 5};
	int second, count, i, j;
 for(i=0;i<8;i++){
  second=numbers[i];
  count=0;
  for(j=0;j<8;j++){
   if(second<numbers[j]){
   count=count+1;}}
    if(count==1)
    break;}
 printf("%d",second);
return 0;
}

