#include<iostream>
int main ()
{
int array [40];
//vvod znacheniy v massiv
int summ;
for (i=0; i < 39; i++)
int check = array[i]%3;
if (check == 1 || check == 2)
int summ ++;
}
std::cout <<summ;
#include<iostream>
int main ()
{
int array [40];
//vvod znacheniy v massiv
int summ;
for (i=0; i < 39; i++)
{
int check = array[i]%3;
if (check == 1 || check == 2)
{
int summ ++;
}
}
std::cout <<summ;
}