def Main(): print(sorted(map(int,input().split()))[0]) Main()