Run ID:128555

提交时间:2025-08-18 12:22:41

#include<iostream> using namespace std; int main(){ int a,b; cin>>a; while(1){ b++; if(b%3==2&&b%5==3&&b%7==2&&b>a){ cout<<b<<endl; break; } } return 0; }