#include <stdio.h>
#define N 16
main() {
int a[N],A, i, j, f;
int count=0;
printf("Input A="); scanf ("%f", &A);
for (i=0; i<N; i++) {
a[i] = rand() % 15;
printf("%d ", a[i]);
}
printf("\n");
for (i=0; i<N; i++) {
count++;
f = 1;
for (j=0; j<N; j++)
if (i!=j && a[i]==a[j] && a[i] > A) {
f = 0;
}
if (f == 1) printf("%d ", a[i]);
}
printf("\n%d", count);
}
******
-*****
--****
---***
----**
-----*
-----*
----**
---***
--****
-*****
******