#include<bits/stdc++.h>
using namespace std;
int main(){
int i=10,a,b;
while(i<=99){
a=i%10;
b=i/10;
if(a==2||b==2) cout<<i<<endl;
i++;
}
}
/**************************************************************
Problem: 1700
User: yangjunwen
Language: C++
Result: Accepted
Time:6 ms
Memory:2072 kb
****************************************************************/