Andrey Kim's submission of Kingdom Unity | CodeChef