#include <iostream>
usingnamespace std;
int count1()
{
int count = 0;
for (int i = 0; i < 1001; i++)
{
if (i % 3 == 0)
{
count++;
}
}
return count;
}
int count2()
{
int count = 0;
for (int i = 0; i < 1001; i++)
{
if (i % 11 == 0)
{
count++;
}
}
return count;
}
int main()
{
int total;
total = count1 + count2;
cout << total << endl;
system("pause");
return 0;
}