#include <bits/stdc++.h>
using namespace std;
int main()
{
    int N = 1000;
    int ans;
    int minn = 9999999;
    int sum = 0; //试剂盒的数量
    for (int k = 1; k <= 1000; k++)
    {
        if (N % k == 0)
        {
            sum = N / k + 10 * k;
        }
        else
        {
            sum = N / k + 10 * k + 1;
        }
        if (sum < minn)
        {
            minn = sum;
            ans = k;
        }
    }
    cout << ans;
    return 0;
}
