Rosetta Problems

ハッピー文字列YDK

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1165