My Online Judge Solution