Ivan Mistreanu's submission of Blade Master | CodeChef