#include
#include
#include
#pragma GCC optimize("Ofast")
#define ll long long
#define ld long double
using namespace std;
ll digits(ll a){
ll c = 0;
while(a > 0){
a /= 10;
c++;
}
return c;
}
signed main() {
srand(time(NULL));
const ll n = 25;
ll sum = 0;
ll mas[n];
for(ll i = 0; i < n; i++){
mas[i] = rand() % 493 - 246;
cout << mas[i] << " ";</strong>
if(digits(mas[i]) == 2 && mas[i] % 4 == 0)
sum += mas[i];
}
cout << "\n" << sum;</strong>
}