private int get0sIndex(int[] a)
	{
		try
		{
			int max=0;
			int ind_0s = 0;
			int count=0;
			for(int i=0;i<a.length;i++)
			{
				if(a[i]==0)
				{
					count=0;
					for(int j=i+1;j<a.length;j++)
					{
						if(a[j]==1)
						{
							count++;
						}
						else
						{
							break;
						}
					}
					for(int x=i-1;x>=0;x--)
					{
						if(a[x]==1)
						{
							count++;
						}
						else
						{
							break;
						}
					}
					if(count>max)
					{
						max=count;
						ind_0s = i;
					}
				}
			}
			//System.out.println(max+" > "+ind_0s);
			return ind_0s;
		}
		catch(Exception ex)
		{
			ex.printStackTrace();
		}
		return -1;
	}