#include <bits/stdc++.h>
using namespace std;
int k,s1,s2,s3;
bool f;
int main(){
cin>>k;
for(int i=10000;i<=30000;i++){
s1=i/100;
s2=i%10000/10;
s3=i%1000;
if(s1%k==0 and s2%k==0 and s3%k==0){
cout<<i<<"\n";
f=1;
}
}
if(!f){
cout<"No\n";
}
return 0;
}
为什么显示 Compile Error