#include #include #include #include #include #include #include using namespace std; #define int long long #define endl "\n" constexpr long long INF = 1e18; constexpr long long MOD = 1000000007; struct fast_io { fast_io(){ std::cin.tie(nullptr); std::ios::sync_with_stdio(false); cout<>= 1; n *= n; res %= MOD; n %= MOD; } return res; } signed main(){ int N, a = 0, b = 0; vector P; cin>>N; P.resize(N); for(int i = 0; i < N; i++){ cin>>P[i]; if(P[i] < 50) a++; else if(P[i] > 50) b++; } if(b) cout<