#include int main(void) { int cleny,vysledok; int d; int i; int pole[1000]; while(scanf("%d",&cleny)) { vysledok=0; for( i=0;i