Deepak and prime

https://ide.codingblocks.com/s/78302 why is it not possing 3 test cases