#include using namespace std; int main(){ int n; cin >> n; int a[n],b[3*n],j=0; int s,l,d=0; for(int i=0;i>a[i]; for(int i=0;i