Piyush and Magical Park

Not able to pass all testcases:


positions of the conditions need to be updated