Here i am giving Light Oj problem's solution