#include<bits/stdc++.h> using namespace std; int i; int main() { for(i=1;i<=10001;i++) if(1000/i-1000/(i-95)==190) cout<<i<<endl; return 0; }