send to hackerearth attempt 1