#include <iostream>
using namespace std;

int main(void)
{
    int x, y;
    for (x = 0; x <= 19; x++)
    {
        for (y = 43; y > x; y--)
        {
            if (2.3 * x + 1.9 * y == 82.3)
            {
                cout << x << endl;
            }
        }
    }
    return 0;
}