【Codeforces 300C】Beautiful Numbers

NoSuchKey