#include #define REP(i,n,N) for(int i=(n);i<(int)N;i++) #define p(s) cout<<(s)<>n; int d[16]; int idou=0; REP(i,0,n) { cin>>d[i]; idou=max(idou,d[i]); } cin>>x>>y; int ans=0; int goal=max(abs(x),abs(y)); for(ans=0;goal>idou*ans;ans++) ; p(ans); return 0; }