#include <iostream>
using namespace std;

int main() {
	int a;
	for(a=1;a<=100;a=a+3)
	cout<<a<<endl;
	return 0;
}