p, q = map(int, input().split()) result = min(p, q) print("{0:.10f}".format(result))