def Main(): print(min(map(int,input().split()))) Main()