Codeforces C. A Mist of Florescence

NoSuchKey