6106: ABC216——A - Signed Difficulty
[Creator : ]
Description
You are given a real number $X.Y$, where $Y$ is a single digit.
Print the following: (quotes for clarity)
Print the following: (quotes for clarity)
- $X$-, if $0 \leq Y \leq 2$;
- $X$, if $3 \leq Y \leq 6$;
- $X$+, if $7 \leq Y \leq 9$.
Input
Input is given from Standard Input in the following format:
$X.Y$
$X.Y$
Output
Print the answer.
Constraints
$1≤X≤15\\
0 \leq Y \leq 9$
$X$ and $Y$ are integers.
0 \leq Y \leq 9$
$X$ and $Y$ are integers.
Sample 1 Input
15.8
Sample 1 Output
15+
Here, printing $15+$ will not be accepted: do not print a space between $X$ and $+$, or between $X$ and $-$.
Sample 2 Input
1.0
Sample 2 Output
1-
You will not get inputs such as $1.00$ and $1$.
Sample 3 Input
12.5
Sample 3 Output
12
HINT
题目来源:AtCoder ABC216 A题。