#include <iostream>
int n, k, np;
void first(){
printf("n = "); scanf("%d", &n); int recovery = n;
while( n != 0 ){
int c = n % 10;
if( c % 2 == 0 ) k += 1;
n /= 10;
}
printf("%d are %d cifre impare!\n", recovery, k);
}
void second(){
n = 1; k = 0; int foo = 0;
while( n != 0 ){
foo += 1; printf("n%d = ", foo); scanf("%d", &n);
if(n < 0) k += 1;
}
printf("In total sau introdus %d de numere negative!", k);
}
void thirth(){
n = 1; k = 0; int foo = 0;
while( n != 0 ){
foo += 1; printf("n%d = ", foo); scanf("%d", &n);
if(n % 7 == 0) foo += n;
}
printf("Suma numerelor divizibile cu 7 = %d", foo)
}
void load(){
first();
second();
thirth();
}
int main(){
load();
return 0;
}