#include<bits/stdc++.h>
using namespace std;
int main(){
	for (int n=100;n<1000;n++){
		int g=n%10;
		int s=n/10%10;
		int b=n/100;
		int h=g+s+b;
		if(h%2==0&&b>s&&s>g){
			cout<<n<<endl;
		}
	}
}
/**************************************************************
	Problem: 1712
	User: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:12 ms
	Memory:2072 kb
****************************************************************/