#include void mergesort(int arr[],int n); int main() { int i,j,k,n,count=0,x,max=-999999; scanf("%d",&n); int a[1000]; for(i=0;i