https://www.luogu.com.cn/problem/P1421
"""
P1421 小玉买文具 2022.01.30
https://www.luogu.com.cn/problem/P1421
"""
a,b=map(int,input().split())
c=a*10+b
ans=c//19
print(ans)
https://www.luogu.com.cn/problem/P1421
"""
P1421 小玉买文具 2022.01.30
https://www.luogu.com.cn/problem/P1421
"""
a,b=map(int,input().split())
c=a*10+b
ans=c//19
print(ans)