
#include <stdio.h>
int main() {
	int i;
	for ( i=2; i<=1000 ; i=3*i-2 ) 
		if(i>=100)
		printf("%d " ,i);
			
		
		
	
	return 0;

}
