although i am not sure about it but aren’t MAXAND18 problem from june lunch-time the same as “The maximum number” from hackerearth’s June Circuits?

The Maximum Number:

The only difference here that is visible to me is that hackerearth asks for count of such number while codechef asks for the number itself. so, a person who has alreday solved the hackerearth one can easily solve MAXAND18.

Correct me if i am wrong.