#include <iostream>
using namespace std;
int main ()
{
int sum=0;
int ar [13];
for (int i=0; i<=12; i++)
ar[i]=rand()%101;
sum=ar[i]>50?sum+ar[i]:sum;
cout<<sum;
return 0;
}
#include <iostream>
using namespace std;
int main ()
{
int sum=0;
int ar [13];
for (int i=0; i<=12; i++)
ar[i]=rand()%101;
for (int i=0; i<=12; i++)
sum=ar[i]>50?sum+ar[i]:sum;
cout<<sum;
return 0;
}