'''****** Задание ******** *Первому игроку приготовиться. ''' first = input() second = input() third = input() if first < second and first < third: print(first) elif second < first and second < third: print(second) elif third < first and third < second: print(third)