#include<iostream> using namespace std; int main(){ for(int i=1E8;i<=1e8;--i){ if(i%105==0){ cout<<i; break; } } return 0; }