Editorial for Функцияны пайдаланыңыз


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Алдымен өрнектің ішіндегі үш мәнді бөлек есептеу ыңғайлы.

Hint 2.

Көмекші минимум және максимум функцияларын қолдануға болады: алдымен \(\max(x,y)\), \(\max(y,z)\) және \(x+y+z\) мәндерін табыңыз.

Hint 3.

Осы үш мәннің ішінен ең кішісін шығарыңыз.