Yandex search engine has several posible ways to prove your wensite ownership. However txt records are the easiest way. However you can’t do that with a 000webhostapp sub domain.
First way
You can buy a shared hosting from hostinger and set up a txt record easily buy thier custom cpanel.
Second way
buy a domain (I prefer hostinger as it’s really cheap)