a,b = map(int,input().split()) b *= 3.6 if a == b: v = 0 else: v = (a