// Compound Logic 1
// Print all numbers from 1 to 100 which are
// divisible by 3 and 7

#include<iostream>
using namespace std;

int main()
{
    for(int i = 1; i <= 100; i++)
	{
		if( i % 3 == 0 && i % 7 == 0 )
		{
			cout << i << endl;
		}
	}

    return 0;
}
