#40239: 一行解


RatTailLiquid (RatTailLiquid)


print(sorted([int(z) for z in input().split()])[2])