2 out of 3 test case are passed can i know some how which is third test case

question https://online.codingblocks.com/player/7545/content/4779?s=1436

solutin https://ide.codingblocks.com/s/48519

Hey Ankush, your code is not handling the corner cases. For eg.
input :
1
correct output should be :
0
but your code’s output is :
0
1 1