#include using namespace std; int main(){ //freopen("date.in","r",stdin); //freopen("date.out","w",stdout); int n; scanf("%d",&n); int sl=0; for(int i=0;(1<