Amusing Joke Codeforces Solution