#include using namespace std; int a,b,c,n,x; int main() { cin>>n; for(int i=0;i>a; if(ac)++x; } cout<