#include<bits/stdc++.h>
using namespace std;
int main(){
    int n,x,y;
	for(n=100;n<=999;n+=2){
		x=n%10;
		y=n/100;
		if(x==y){
			cout<<n<<endl;
		}
		else{
			continue;
		}
	}
}
/**************************************************************
	Problem: 1392
	User: zengyixuan
	Language: C
	Result: Compile Error
****************************************************************/