All my Ural Online Judge Solution