#include <stdio.h>
int input(int a[], int max_n)
{
int i,n;
if(n>max_n)
n=max_n;
for(i=0;i<n;++i)
return n;
}
void print(int a[], int n)
{
int i;
for(i=0;i<n;++i)
}
int copy_except(int dst[],int src[],
int n,int v)
{
int i,j;
for(i=0;i<n;++i)
if(src[i]!=v)
dst[i]=src[i];
return j;
}
int main(void)
{
int a[100];
int b[100];
int n1,n2,max_n=100;
int v=99;
n1=input(a,max_n);
n2=copy_except(b,a,n1,v);
print(b,n2);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiAKaW50IGlucHV0KGludCBhW10sIGludCBtYXhfbikKewoJaW50IGksbjsKIAoJc2NhbmYoIiVkIiwgJm4pOwoJaWYobj5tYXhfbikKCQluPW1heF9uOwoJZm9yKGk9MDtpPG47KytpKQoJCXNjYW5mKCIlZCIsICZhW2ldKTsKCXJldHVybiBuOwp9CiAKdm9pZCBwcmludChpbnQgYVtdLCBpbnQgbikKewoJaW50IGk7CiAKCWZvcihpPTA7aTxuOysraSkKCQlwcmludGYoIiVkICIsIGFbaV0pOwoJcHJpbnRmKCJcbiIpOwkKfQogCmludCBjb3B5X2V4Y2VwdChpbnQgZHN0W10saW50IHNyY1tdLAoJCQkJaW50IG4saW50IHYpCnsKCWludCBpLGo7CiAKCWZvcihpPTA7aTxuOysraSkKCQlpZihzcmNbaV0hPXYpCgkJCWRzdFtpXT1zcmNbaV07CglyZXR1cm4gajsJCn0KIAogCmludCBtYWluKHZvaWQpCnsKCWludCBhWzEwMF07CglpbnQgYlsxMDBdOwoJaW50IG4xLG4yLG1heF9uPTEwMDsKCWludCB2PTk5OwogCgluMT1pbnB1dChhLG1heF9uKTsKCW4yPWNvcHlfZXhjZXB0KGIsYSxuMSx2KTsKCXByaW50KGIsbjIpOwoJcmV0dXJuIDA7Cn0=