Competitions
Оператор розгалуження
Conditional statement - 1
Find the value of y according to the next condition:
y = \begin{cases}
x^2 - 3x + 4, x < 5 \\
x + 7, x \ge 5
\end{cases}
Input data
One integer x\:(-1000 \le x \le 1000).
Output data
Print the value of y according to the conditional statement above.
Examples
Input example #1
2
Output example #1
2
Input example #2
10
Output example #2
17