void myput(int m[],int a)
{
int i;
for(i=0;i<a;i++) {
scanf("%d",&a[i]);
}
}
void myout(int m[],int a)
{
int i;
for (i=0;i<a;i++) {
printf("%d",a[i]);
}
}
int char(int m[],int daicha)
{
int low=0,high=NUM-1,mid;
while (1) {
if (m[low]>m[high])
return -1;
mid=(low+high)/2;
if (m[mid]==daicha)
return mid;
if (m[mid]<key)
low=mid+1;
high=mid-1;
}
}
void pai(int m[])
{
{
int i;
for(i=0;i<a;i++) {
scanf("%d",&a[i]);
}
}
void myout(int m[],int a)
{
int i;
for (i=0;i<a;i++) {
printf("%d",a[i]);
}
}
int char(int m[],int daicha)
{
int low=0,high=NUM-1,mid;
while (1) {
if (m[low]>m[high])
return -1;
mid=(low+high)/2;
if (m[mid]==daicha)
return mid;
if (m[mid]<key)
low=mid+1;
high=mid-1;
}
}
void pai(int m[])
{