MAXAND18 DOUBT

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?

MAXAND18: CodeChef: Practical coding for everyone
The Maximum Number: The maximum number | Practice Problems

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.