Minh Tu Nguyen's submission of A Weird Device | CodeChef