#include #include #include #include using namespace std; int a[10005]; int main() { int n; while(scanf("%d",&n)!=EOF) { int count=0; for(int i=0;i>a[i]; for(int i=0;i