import math
import sys
SERIES = (0.5, 0.75, 1.0, 1.5, 2.5, 4.0, 6.0, 10.0)
def parse_length(s):
try:
v = int(s)
except (TypeError, ValueError):
return None
return v if 1 <= v <= 100 else None
def parse_section(s):
try:
v = float(s)
except (TypeError, ValueError):
return None
for x in SERIES:
if abs(v - x) < 1e-9:
return x
return None
def main():
tok = sys.stdin.readline().split()
length = parse_length(tok[0] if len(tok) > 0 else None)
section = parse_section(tok[1] if len(tok) > 1 else None)
if length is None and section is None:
print(999)
elif length is None:
print(777)
elif section is None:
print(888)
else:
R = 0.0175 * 2 * length / section
I = 0.10 * 220 / (R * 0.95)
res = math.floor(I + 0.5)
print(max(1, min(64, res)))
main()