""" """ import sys from sys import stdin a = list(map(int,input().split())) print (min(a))