hackerearth programming basic 2