n,k=map(int,input().split()) m=n+k//2.5 print(int(m))
------Input------ 159 16 ------Answer----- 169 ------Your output----- 165