One test case is failing

why one test case is failing

hey @rick711c

if(p==1)
{
	cout<<366;
	return 0;
}