#include #define REP(i,n,N) for(int i = n; i < (int) N; i++) #define ck(n,a,b) ((a)<=(n)&&(n)<(b)) #define p(s) cout<<(s)<>N; int a,a1; cin>>a1; int rank=1; p(rank); REP(i,1,N) { cin>>a; if(a>a1) rank++; p(rank); } return 0; }