#include<iostream> using namespace std; int main(){ for(int i=100;i<=999;i++){ if(i%111==0){ cout<<i<<endl; } } return 0; }