Conditional statement - 1#8520

Conditional statement - 1

1 second
128 megabytes
Very easy (≈850)

Find the value of according to the following condition:

y = \begin{cases} x^2 - 3x + 4, x < 5 \\ x + 7, x \ge 5 \end{cases}

Input

One integer x~(-1000 \le x \le 1000).

Output

Print the value of according to the given condition.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading