For one test case its showing run error.Rest working fine

hello @gaganpreetsachdev1

call ur append function only when p>0