Untitled

 avatar
user_5668965
c_cpp
9 months ago
335 B
10
Indexable
#include <bits/stdc++.h>
using namespace std;
void solve()
{
    int n,count=0;
    cin>>n;
    for(int i=0;i<n;i++)
    {
        int x;
        cin>>x;
        if(x==1)
            count++;
    }
    if(count==0)
        cout<<"EASY";
    else
        cout<<"HARD";

}
int main()
{
    solve();
    return 0;
}
Editor is loading...
Leave a Comment