#include <iostream>

int main() {
    int a, b;
    std :: cin >> a >> b;
    b += a * 10;
    std :: cout << b / 19;
    return 0;
}