eolymp
bolt
Try our new interface for solving problems
Problems

Price function - 2

Price function - 2

Find the value of the function, given with the graph. The points x = -3, 3, 6 are not included into the domain of the function. funksiya-test-3.png

Input

One real number x - the value of the argument.

Output

Print the value of the function y = f(x) with 4 decimal digits, or NO FUNCTION if the function is not defined for the given argument.

Time limit 1 second
Memory limit 128 MiB
Input example #1
-5
Output example #1
3.0000
Input example #2
-3
Output example #2
NO FUNCTION
Author Mayis Eyniyev